Skip to content

Commit

Permalink
Merge pull request #228 from PCMDI/226_pjg_addtoz
Browse files Browse the repository at this point in the history
adding toz
  • Loading branch information
gleckler1 authored Dec 13, 2022
2 parents f923f5a + 80658f6 commit fe10149
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Tables/obs4MIPs_Amon.json
Original file line number Diff line number Diff line change
Expand Up @@ -1270,6 +1270,23 @@
"valid_max":"",
"valid_min":""
},
"toz":{
"cell_measures":"area: areacella",
"cell_methods":"area: time: mean",
"comment":"Total ozone column calculated at 0 degrees C and 1 bar, such that 1m = 1e5 DU.",
"dimensions":"longitude latitude time",
"frequency":"mon",
"long_name":"Total Column Ozone",
"ok_max_mean_abs":"",
"ok_min_mean_abs":"",
"out_name":"toz",
"positive":"",
"standard_name":"equivalent_thickness_at_stp_of_atmosphere_ozone_content",
"type":"real",
"units":"m",
"valid_max":"",
"valid_min":""
},
"ts":{
"cell_measures":"area: areacella",
"cell_methods":"area: time: mean",
Expand Down
39 changes: 39 additions & 0 deletions src/writeJson.py
Original file line number Diff line number Diff line change
Expand Up @@ -431,6 +431,45 @@ def readJsonCreateDict(buildList):
Amon['variable_entry']['hfns']['valid_max'] = ''
Amon['variable_entry']['hfns']['valid_min'] = ''

# Add new variables
# Variable sponsor - PCMDI; PjG
Amon['variable_entry'][u'hfns'] = {}
Amon['variable_entry']['hfns']['cell_measures'] = ''
Amon['variable_entry']['hfns']['cell_methods'] = 'time: mean'
Amon['variable_entry']['hfns']['comment'] = ''
Amon['variable_entry']['hfns']['dimensions'] = 'longitude latitude time'
Amon['variable_entry']['hfns']['frequency'] = 'mon'
Amon['variable_entry']['hfns']['long_name'] = 'Net Surface Energy'
Amon['variable_entry']['hfns']['ok_max_mean_abs'] = ''
Amon['variable_entry']['hfns']['ok_min_mean_abs'] = ''
Amon['variable_entry']['hfns']['out_name'] = 'hfns'
Amon['variable_entry']['hfns']['positive'] = ''
Amon['variable_entry']['hfns']['standard_name'] = 'Net_Surface_Energy'
Amon['variable_entry']['hfns']['type'] = 'real'
Amon['variable_entry']['hfns']['units'] = 'W m-2'
Amon['variable_entry']['hfns']['valid_max'] = ''
Amon['variable_entry']['hfns']['valid_min'] = ''

# Add new variables
# Variable sponsor - PCMDI; PjG
Amon['variable_entry'][u'toz'] = {}
Amon['variable_entry']['toz']['cell_measures'] = "area: areacella"
Amon['variable_entry']['toz']['cell_methods'] = "area: time: mean"
Amon['variable_entry']['toz']['comment'] = 'Total ozone column calculated at 0 degrees C and 1 bar, such that 1m = 1e5 DU.'
Amon['variable_entry']['toz']['dimensions'] = 'longitude latitude time'
Amon['variable_entry']['toz']['frequency'] = 'mon'
Amon['variable_entry']['toz']['long_name'] = 'Total Column Ozone'
Amon['variable_entry']['toz']['ok_max_mean_abs'] = ''
Amon['variable_entry']['toz']['ok_min_mean_abs'] = ''
Amon['variable_entry']['toz']['out_name'] = 'toz'
Amon['variable_entry']['toz']['positive'] = ''
Amon['variable_entry']['toz']['standard_name'] = 'equivalent_thickness_at_stp_of_atmosphere_ozone_content'
Amon['variable_entry']['toz']['type'] = 'real'
Amon['variable_entry']['toz']['units'] = 'm'
Amon['variable_entry']['toz']['valid_max'] = ''
Amon['variable_entry']['toz']['valid_min'] = ''



# monNobs
#--------
Expand Down

0 comments on commit fe10149

Please sign in to comment.