From 80658f6f474e9eb739524ce18188ddda425dcccc Mon Sep 17 00:00:00 2001 From: gleckler1 Date: Tue, 13 Dec 2022 14:52:29 -0800 Subject: [PATCH] adding toz --- Tables/obs4MIPs_Amon.json | 17 +++++++++++++++++ src/writeJson.py | 39 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) diff --git a/Tables/obs4MIPs_Amon.json b/Tables/obs4MIPs_Amon.json index 193d192..080f094 100644 --- a/Tables/obs4MIPs_Amon.json +++ b/Tables/obs4MIPs_Amon.json @@ -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", diff --git a/src/writeJson.py b/src/writeJson.py index 7d50a33..1c18700 100755 --- a/src/writeJson.py +++ b/src/writeJson.py @@ -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 #--------