obs4MIPs
Home for obs4MIPs
Warning
These docs are in active development while we are updating the processes for submissions
1. Background to obs4MIPs¶
Obs4MIPs makes observational data more accessible for climate model evaluation, development and research. It does this by providing observational products technically aligned with climate model data, such as the World Climate Research Programme's (WCRP) Coupled Model Intercomparison Project (CMIP).
Version controlled obs4MIPs compliant datasets provide the foundation for this work. Some of these products are made available via ESGF, with version control and other registered content managed on a separate Github repository.
Obs4MIPs is a part of the World Climate Research Programme's Earth System Modelling and Observations project ESMO. The obs4MIPs Steering Group is supported by the CMIP International Project Office.
1.1 Contact information¶
Contact the obs4MIPs team at: submissions-obs4mips@wcrp-cmip.org.
1.2 Links to resources¶
- Obs4MIPs WRCP-ESMO website
- Obs4MIPs Dataset proposal form
- Obs4MIPs Data Specifications ODS
- Obs4MIPs Datasets searchable on the Earth System Grid Federation ESGF
- Obs4MIPs list of datasets organised by product and thematic category on the UCAR website
2. obs4MIPs proposal process¶
2.1 Summary¶
Making the process of preparing obs4MIPs-compliant products transparent¶
The required metadata and codes used to prepare obs4MIPs products are developed and maintained in the CV's and CMOR-tables public repositories (see the links on the side panel). Subdirectories (under obs4MIPs-cmor-tables/inputs), corresponding to obs4MIPs institution_ids, identify at which institution specific obs4MIPs products are prepared. When multiple products are prepared at the same institution, a deeper level of subdirectories (also denoted with institution_ids) indicate the origins of a particular product. These files are useful to copy when preparing an obs4MIPs compliant dataset, as they have been processed and made accessible on ESGF.
Recipe for the preparation of obs4MIPs compliant data¶
The steps below describe the process of preparing an obs4MIPs-compliant dataset. This often involves copying information from provided demos and modifying as necessary to prepare a new obs4MIPs-compliant dataset. Please check out our How-to-Guides on the side panel which have links to Scribe instructions
Although we recommended that obs4MIPs-compliant data products be prepared with the Climate Model Output Rewriter (CMOR), obs4MIPs does support other tools for dataset preparation, e.g. ESMValTool. CMOR is used by most CMIP modelling groups to prepare their model output before publishing it to ESGF. Use of CMOR means compliance with the obs4MIPs data specifications ODS. By preparing a simple "runCmor" python script and an input JSON file, CMOR can be used to prepare an obs4MIPs-compliant dataset.
CMOR can be obtained via conda-forge, a community-led collection of infrastructure and distributions for the conda package manager.
Recipe¶
1) Identify an ESGF node to publish your obs4MIPs dataset. Before data are prepared to be made obs4MIPs compliant, the proposer should identify a node within ESGF that can publish the data to make it searchable via Metagrid. If you require help in finding a node, please contact the obs4MIPs team.
2) Fill out the data proposal form. Please ask us if you have any questions about the requested information and check out the user guide we have prepared. See the How-to-Guides and the links on the side bar.
3) Register a new source_id. An issue can be submitted on this GitHub repo with a proposed source_id. The obs4MIPs team will review this information and enter it into the obs4MIPs database of source_id's or propose an alternative if it does not conform to the obs4MIPs data specifications. When opening an issue, replace the information in the example with your proposed source_id. The source_id is intended to identify the product/version and should resemble an existing identifier, but may be modified to be consistent with CMIP/obs4MIPs conventions. For example: A compliant source_id for GPCP 2.4 is GPCP-2-4. More information on the guidelines for constructing a source_id is available in Table 1 of the obs4MIPs data specifications ODS2.6.
4) Prepare input table for running CMOR. An example input table. The simplest thing to do is to save this file, rename it, and replace the demo content with the relevant information for a new source_id or dataset. Typically, this involves only making changes to the following attributes: contact, grid, grid_label, institution_id, nominal_resolution, references, outpath, source_id, title, variant_info and variant_label. All obs4MIPs products should clearly identify the origins of the data (where and when did the person preparing the obs4MIPs compliant product obtain the original data). This information can be documented in the last three attributes of the example input table identified above via the following attributes: originData_URL, originData_retrieved, and originData_notes.
5) Prepare python script for reading in data an writing with CMOR. This is the most time consuming aspect of preparing an obs4MIPs-compliant data set. It involves preparing a simple Python script to read the original data downloaded in advance. As with the steps before, start by downloading a demo python script, renaming it accordingly, and modifying. The examples provided illustrate how data already in netCDF can be processed to be obs4MIPs compliant, but in principle, input data in other formats can be used if the user can process the data using CMOR. An example input table and script using xarray and CMOR.
6) Execute script. The processed data is located in a directory defined in the input_table: outpath + output_path_template, the former being the base directory (where the user wants to output the data) and the latter a directory template explicitly defined for obs4MIPs
7) Perform quality control on the obs4MIPs-compliant dataset. The obs4MIPs QA/QC tool is under development, and should be considered a beta release. This tool will be a mandatory step for publication to ESGF.
8) Create an issue to include the processing code in this repository. Please note a dataset is not obs4MIPs-compliant unless the source_id is registered and the input json and python scripts used for processing are included in this repo. This ensures transparency in the obs4MIPs process.
Note the above process of preparing obs4MIPs-compliant data is in support of, but independent of the process of publishing obs4MIPs-compliant data to ESGF.