Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue87 durack1 register PCMDI-AMIP-1-2-0 #121

Merged
merged 2 commits into from
Mar 8, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Tables/input4MIPs_A3hr.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"missing_value":"1e20",
"product":"input4MIPs",
"realm":"atmos",
"table_date":"26 January 2022",
"table_date":"08 March 2022",
"table_id":"Table input4MIPs_A3hr"
},
"variable_entry":{
Expand Down
2 changes: 1 addition & 1 deletion Tables/input4MIPs_A3hrPt.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"missing_value":"1e20",
"product":"input4MIPs",
"realm":"atmos",
"table_date":"26 January 2022",
"table_date":"08 March 2022",
"table_id":"Table input4MIPs_A3hrPt"
},
"variable_entry":{
Expand Down
2 changes: 1 addition & 1 deletion Tables/input4MIPs_Afx.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"missing_value":"1e20",
"product":"input4MIPs",
"realm":"atmos land",
"table_date":"26 January 2022",
"table_date":"08 March 2022",
"table_id":"Table input4MIPs_Afx"
},
"variable_entry":{
Expand Down
2 changes: 1 addition & 1 deletion Tables/input4MIPs_Ayr.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"missing_value":"1e20",
"product":"input4MIPs",
"realm":"atmos atmosChem",
"table_date":"26 January 2022",
"table_date":"08 March 2022",
"table_id":"Table input4MIPs_Ayr"
},
"variable_entry":{
Expand Down
34 changes: 34 additions & 0 deletions Tables/input4MIPs_CV.json
Original file line number Diff line number Diff line change
Expand Up @@ -1005,6 +1005,40 @@
"target_mip":"CMIP",
"title":"PCMDI-AMIP 1.1.7 dataset prepared for input4MIPs"
},
"PCMDI-AMIP-1-2-0":{
"calendar":"gregorian",
"comment":"Based on Hurrell SST/sea ice consistency criteria applied to merged HadISST (1870-01 to 1981-10) & NCEP-0I2 (1981-11 to 2021-12)",
"contact":"PCMDI ([email protected])",
"dataset_category":"SSTsAndSeaIce",
"further_info_url":"https://pcmdi.llnl.gov/mips/amip",
"grid":"1x1 degree longitude x latitude",
"grid_label":"gn",
"institution":"Program for Climate Model Diagnosis and Intercomparison, Lawrence Livermore National Laboratory, Livermore, CA 94550, USA",
"institution_id":"PCMDI",
"mip_era":"CMIP6Plus",
"nominal_resolution":"1x1 degree",
"product":"observations",
"references":"Taylor, K.E., D. Williamson and F. Zwiers, 2000: The sea surface temperature and sea ice concentration boundary conditions for AMIP II simulations. PCMDI Report 60, Program for Climate Model Diagnosis and Intercomparison, Lawrence Livermore National Laboratory, 25 pp. Available online: https://pcmdi.llnl.gov/report/pdf/60.pdf",
"region":[
"global_ocean"
],
"release_year":"2022",
"source":"PCMDI-AMIP 1.2.0: Merged SST based on UK MetOffice HadISST and NCEP OI2",
"source_description":"Sea surface temperature and sea-ice datasets produced by PCMDI (LLNL) for the AMIP (DECK) experiment of CMIP6",
"source_id":"PCMDI-AMIP-1-2-0",
"source_type":"satellite_blended",
"source_variables":[
"areacello",
"sftof",
"siconc",
"siconcbcs",
"tos",
"tosbcs"
],
"source_version":"1.2.0",
"target_mip":"CMIP",
"title":"PCMDI-AMIP 1.2.0 dataset prepared for input4MIPs"
},
"UKESM1-0-LL-ssp585-1-0":{
"comment":"Prepared using CMIP6 model UKESM1-0-LL as input. A combination of historical and ssp585 datasets were used to create this ISMIP6 forcing dataset",
"contact":"ISMIP6 Steering Team ([email protected])",
Expand Down
2 changes: 1 addition & 1 deletion Tables/input4MIPs_LIday.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"missing_value":"1e20",
"product":"input4MIPs",
"realm":"landIce",
"table_date":"26 January 2022",
"table_date":"08 March 2022",
"table_id":"Table input4MIPs_LIday"
},
"variable_entry":{
Expand Down
2 changes: 1 addition & 1 deletion Tables/input4MIPs_LIfx.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"missing_value":"1e20",
"product":"input4MIPs",
"realm":"landIce",
"table_date":"26 January 2022",
"table_date":"08 March 2022",
"table_id":"Table input4MIPs_LIfx"
},
"variable_entry":{
Expand Down
2 changes: 1 addition & 1 deletion Tables/input4MIPs_LIyr.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"missing_value":"1e20",
"product":"input4MIPs",
"realm":"landIce land",
"table_date":"26 January 2022",
"table_date":"08 March 2022",
"table_id":"Table input4MIPs_LIyr"
},
"variable_entry":{
Expand Down
2 changes: 1 addition & 1 deletion Tables/input4MIPs_LIyrAnt.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"missing_value":"1e20",
"product":"input4MIPs",
"realm":"landIce",
"table_date":"26 January 2022",
"table_date":"08 March 2022",
"table_id":"Table input4MIPs_LIyrAnt"
},
"variable_entry":{
Expand Down
2 changes: 1 addition & 1 deletion Tables/input4MIPs_LIyrC.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"missing_value":"1e20",
"product":"input4MIPs",
"realm":"landIce",
"table_date":"26 January 2022",
"table_date":"08 March 2022",
"table_id":"Table input4MIPs_LIyrC"
},
"variable_entry":{
Expand Down
2 changes: 1 addition & 1 deletion Tables/input4MIPs_LIyrGre.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"missing_value":"1e20",
"product":"input4MIPs",
"realm":"landIce",
"table_date":"26 January 2022",
"table_date":"08 March 2022",
"table_id":"Table input4MIPs_LIyrGre"
},
"variable_entry":{
Expand Down
2 changes: 1 addition & 1 deletion Tables/input4MIPs_Lday.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"missing_value":"1e20",
"product":"input4MIPs",
"realm":"land",
"table_date":"26 January 2022",
"table_date":"08 March 2022",
"table_id":"Table input4MIPs_Lday"
},
"variable_entry":{
Expand Down
2 changes: 1 addition & 1 deletion Tables/input4MIPs_Lyr.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"missing_value":"1e20",
"product":"input4MIPs",
"realm":"land",
"table_date":"26 January 2022",
"table_date":"08 March 2022",
"table_id":"Table input4MIPs_Lyr"
},
"variable_entry":{
Expand Down
2 changes: 1 addition & 1 deletion Tables/input4MIPs_Oday.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"missing_value":"1e20",
"product":"input4MIPs",
"realm":"ocean",
"table_date":"26 January 2022",
"table_date":"08 March 2022",
"table_id":"Table input4MIPs_Oday"
},
"variable_entry":{
Expand Down
2 changes: 1 addition & 1 deletion Tables/input4MIPs_Ofx.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"missing_value":"1e20",
"product":"input4MIPs",
"realm":"ocean",
"table_date":"26 January 2022",
"table_date":"08 March 2022",
"table_id":"Table input4MIPs_Ofx"
},
"variable_entry":{
Expand Down
2 changes: 1 addition & 1 deletion Tables/input4MIPs_Omon.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"missing_value":"1e20",
"product":"input4MIPs",
"realm":"ocean",
"table_date":"26 January 2022",
"table_date":"08 March 2022",
"table_id":"Table input4MIPs_Omon"
},
"variable_entry":{
Expand Down
2 changes: 1 addition & 1 deletion Tables/input4MIPs_OmonC.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"missing_value":"1e20",
"product":"input4MIPs",
"realm":"ocean",
"table_date":"26 January 2022",
"table_date":"08 March 2022",
"table_id":"Table input4MIPs_OmonC"
},
"variable_entry":{
Expand Down
2 changes: 1 addition & 1 deletion Tables/input4MIPs_Oyr.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"missing_value":"1e20",
"product":"input4MIPs",
"realm":"ocean",
"table_date":"26 January 2022",
"table_date":"08 March 2022",
"table_id":"Table input4MIPs_Oyr"
},
"variable_entry":{
Expand Down
2 changes: 1 addition & 1 deletion Tables/input4MIPs_OyrC.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"missing_value":"1e20",
"product":"input4MIPs",
"realm":"ocean",
"table_date":"26 January 2022",
"table_date":"08 March 2022",
"table_id":"Table input4MIPs_OyrC"
},
"variable_entry":{
Expand Down
2 changes: 1 addition & 1 deletion Tables/input4MIPs_SI3hrPt.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"missing_value":"1e20",
"product":"input4MIPs",
"realm":"seaIce",
"table_date":"26 January 2022",
"table_date":"08 March 2022",
"table_id":"Table input4MIPs_SI3hrPt"
},
"variable_entry":{
Expand Down
2 changes: 1 addition & 1 deletion Tables/input4MIPs_SIday.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"missing_value":"1e20",
"product":"input4MIPs",
"realm":"seaIce",
"table_date":"26 January 2022",
"table_date":"08 March 2022",
"table_id":"Table input4MIPs_SIday"
},
"variable_entry":{
Expand Down
2 changes: 1 addition & 1 deletion Tables/input4MIPs_SImon.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"missing_value":"1e20",
"product":"input4MIPs",
"realm":"seaIce",
"table_date":"26 January 2022",
"table_date":"08 March 2022",
"table_id":"Table input4MIPs_SImon"
},
"variable_entry":{
Expand Down
2 changes: 1 addition & 1 deletion Tables/input4MIPs_grids.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"mip_era":"CMIP6",
"missing_value":"1e20",
"product":"input4MIPs",
"table_date":"26 January 2022",
"table_date":"08 March 2022",
"table_id":"Table input4MIPs_grids"
},
"axis_entry":{
Expand Down
34 changes: 34 additions & 0 deletions input4MIPs_source_id.json
Original file line number Diff line number Diff line change
Expand Up @@ -763,6 +763,40 @@
"target_mip":"CMIP",
"title":"PCMDI-AMIP 1.1.7 dataset prepared for input4MIPs"
},
"PCMDI-AMIP-1-2-0":{
"calendar":"gregorian",
"comment":"Based on Hurrell SST/sea ice consistency criteria applied to merged HadISST (1870-01 to 1981-10) & NCEP-0I2 (1981-11 to 2021-12)",
"contact":"PCMDI ([email protected])",
"dataset_category":"SSTsAndSeaIce",
"further_info_url":"https://pcmdi.llnl.gov/mips/amip",
"grid":"1x1 degree longitude x latitude",
"grid_label":"gn",
"institution":"Program for Climate Model Diagnosis and Intercomparison, Lawrence Livermore National Laboratory, Livermore, CA 94550, USA",
"institution_id":"PCMDI",
"mip_era":"CMIP6Plus",
"nominal_resolution":"1x1 degree",
"product":"observations",
"references":"Taylor, K.E., D. Williamson and F. Zwiers, 2000: The sea surface temperature and sea ice concentration boundary conditions for AMIP II simulations. PCMDI Report 60, Program for Climate Model Diagnosis and Intercomparison, Lawrence Livermore National Laboratory, 25 pp. Available online: https://pcmdi.llnl.gov/report/pdf/60.pdf",
"region":[
"global_ocean"
],
"release_year":"2022",
"source":"PCMDI-AMIP 1.2.0: Merged SST based on UK MetOffice HadISST and NCEP OI2",
"source_description":"Sea surface temperature and sea-ice datasets produced by PCMDI (LLNL) for the AMIP (DECK) experiment of CMIP6",
"source_id":"PCMDI-AMIP-1-2-0",
"source_type":"satellite_blended",
"source_variables":[
"areacello",
"sftof",
"siconc",
"siconcbcs",
"tos",
"tosbcs"
],
"source_version":"1.2.0",
"target_mip":"CMIP",
"title":"PCMDI-AMIP 1.2.0 dataset prepared for input4MIPs"
},
"UKESM1-0-LL-ssp585-1-0":{
"comment":"Prepared using CMIP6 model UKESM1-0-LL as input. A combination of historical and ssp585 datasets were used to create this ISMIP6 forcing dataset",
"contact":"ISMIP6 Steering Team ([email protected])",
Expand Down
52 changes: 6 additions & 46 deletions src/writeJson.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@
PJD 24 Jul 2020 - Updated call to readJsonCreateDict(tableSource, rawGit) - added argument
PJD 8 Sep 2020 - Register source_id MRI-JRA55-do-1-5-0 https://github.com/PCMDI/input4MIPs-cmor-tables/issues/109
PJD 26 Jan 2022 - Update home path
PJD 8 Mar 2022 - Register PCMDI-AMIP-1-2-0 https://github.com/PCMDI/input4MIPs-cmor-tables/issues/87
- TODO: Deal with lab cert issue https://raw.githubusercontent.com -> http://rawgit.com (see requests library)


Expand Down Expand Up @@ -873,15 +874,15 @@
print(count, key)
source_id[key]['mip_era'] = 'CMIP6'

# Add PCMDI-AMIP-1-1-7
key = 'PCMDI-AMIP-1-1-7'
# Add PCMDI-AMIP-1-2-0
key = 'PCMDI-AMIP-1-2-0'
source_id.pop(key, None) # Cleanup and start again
source_id[key] = {}
source_id[key]['calendar'] = 'gregorian'
source_id[key]['comment'] = ' '.join(['Based on Hurrell SST/sea ice consistency',
'criteria applied to merged HadISST',
'(1870-01 to 1981-10) & NCEP-0I2 (1981-11',
'to 2021-06)'])
'to 2021-12)'])
source_id[key]['contact'] = 'PCMDI ([email protected])'
source_id[key]['dataset_category'] = 'SSTsAndSeaIce'
source_id[key]['grid'] = '1x1 degree longitude x latitude'
Expand All @@ -894,7 +895,7 @@
'Livermore National Laboratory,',
'Livermore, CA 94550, USA'])
source_id[key]['nominal_resolution'] = '1x1 degree'
source_id[key]['mip_era'] = 'CMIP6'
source_id[key]['mip_era'] = 'CMIP6Plus'
source_id[key]['product'] = 'observations'
source_id[key]['references'] = ''.join(['Taylor, K.E., D. Williamson and F. Zwiers, ',
'2000: The sea surface temperature and sea ice ',
Expand All @@ -909,55 +910,14 @@
'sea-ice datasets produced by',
'PCMDI (LLNL) for the AMIP',
'(DECK) experiment of CMIP6'])
source_id[key]['source'] = 'PCMDI-AMIP 1.1.7: Merged SST based on UK MetOffice HadISST and NCEP OI2'
source_id[key]['source'] = 'PCMDI-AMIP 1.2.0: Merged SST based on UK MetOffice HadISST and NCEP OI2'
source_id[key]['source_id'] = key
source_id[key]['source_type'] = 'satellite_blended'
source_id[key]['source_variables'] = ['areacello', 'sftof', 'siconc', 'siconcbcs',
'tos', 'tosbcs']
source_id[key]['source_version'] = '1.1.7'
source_id[key]['target_mip'] = 'CMIP'
source_id[key]['title'] = 'PCMDI-AMIP 1.1.7 dataset prepared for input4MIPs'

# Remove PCMDI-AMIP-1-2-0
key = 'PCMDI-AMIP-1-2-0'
source_id.pop(key, None) # Cleanup and start again
# Add PCMDI-AMIP-1-2-0 - placeholder
"""
key = 'PCMDI-AMIP-1-2-0'
source_id.pop(key, None) # Cleanup and start again
source_id[key] = {}
source_id[key]['calendar'] = 'gregorian'
source_id[key]['comment'] = 'Based on Hurrell SST/sea ice consistency criteria applied to merged HadISST (1870-01 to 1981-10) & NCEP-0I2 (1981-11 to 2021-06)'
source_id[key]['contact'] = 'PCMDI ([email protected])'
source_id[key]['dataset_category'] = 'SSTsAndSeaIce'
source_id[key]['grid'] = '1x1 degree longitude x latitude'
source_id[key]['grid_label'] = 'gn'
#source_id[key]['frequency'] = 'mon' # See https://github.com/PCMDI/cmor/issues/628#issuecomment-912101615
source_id[key]['further_info_url'] = 'https://pcmdi.llnl.gov/mips/amip'
source_id[key]['institution_id'] = 'PCMDI'
source_id[key]['institution'] = 'Program for Climate Model Diagnosis and Intercomparison, Lawrence Livermore National Laboratory, Livermore, CA 94550, USA'
source_id[key]['nominal_resolution'] = '1x1 degree'
source_id[key]['mip_era'] = 'CMIP6Plus'
source_id[key]['product'] = 'observations'
source_id[key]['references'] = ''.join(['Taylor, K.E., D. Williamson and F. Zwiers, ',
'2000: The sea surface temperature and sea ice ',
'concentration boundary conditions for AMIP II ',
'simulations. PCMDI Report 60, Program for ',
'Climate Model Diagnosis and Intercomparison, ',
'Lawrence Livermore National Laboratory, 25 pp. ',
'Available online: https://pcmdi.llnl.gov/report/pdf/60.pdf'])
source_id[key]['region'] = ['global_ocean']
source_id[key]['release_year'] = '2022'
source_id[key]['source_description'] = 'Sea surface temperature and sea-ice datasets produced by PCMDI (LLNL) for the AMIP (DECK) experiment of CMIP6'
source_id[key]['source'] = 'PCMDI-AMIP 1.2.0: Merged SST based on UK MetOffice HadISST and NCEP OI2'
source_id[key]['source_id'] = key
source_id[key]['source_type'] = 'satellite_blended'
source_id[key]['source_variables'] = ['areacello','sftof','siconc','siconcbcs',
'tos','tosbcs']
source_id[key]['source_version'] = '1.2.0'
source_id[key]['target_mip'] = 'CMIP'
source_id[key]['title'] = 'PCMDI-AMIP 1.2.0 dataset prepared for input4MIPs'
"""

# %% Create CV master
CV = {}
Expand Down