Skip to content

Commit

Permalink
Correct code typo error in 86aa477 #486.
Browse files Browse the repository at this point in the history
  • Loading branch information
treerink committed Jun 13, 2019
1 parent 86aa477 commit 723e4bf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ece2cmor3/resources/prefs.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def keep_variable(target, model_component, ecearth_config):
# Carbon-cycle variables only activated in EC-EARTH-CC
if variable in ["cfc12", "cfc13", "c14", "sf6", \
"bfe", "bfeos", "bsi", "bsios", "calc", "calcos", "chl", "chldiat", "chldiatos", \
"chlmisc", \"chlmiscos", "chlos", "co3", "co3os", "co3satcalc", "co3satcalcos", \
"chlmisc", "chlmiscos", "chlos", "co3", "co3os", "co3satcalc", "co3satcalcos", \
"dcalc", "detoc", "detocos", "dfe", "dfeos", "dissic", "dissicnatos", "dissicos", \
"dissoc", "dissocos", "dpco2", "dpo2", "epc100", "epcalc100", "epfe100", "epsi100", \
"expc", "expcalc", "expfe", "expn", "expp", "expsi", "fbddtalk", "fbddtdic", "fbddtdife", \
Expand All @@ -44,9 +44,9 @@ def keep_variable(target, model_component, ecearth_config):
"phydiatos", "phyfe", "phyfeos", "phymisc", "phymiscos", "physi", "physios", "pnitrate", \
"po4", "po4os", "pp", "ppdiat", "ppmisc", "ppos", "remoc", "si", "sios", "spco2", "talk", \
"talknatos", "talkos", "zmeso", "zmesoos", "zmicro", "zmicroos", "zo2min", "zooc", "zoocos"]:
# The list from the second line is created by using:
# more basic-flat-cmip6-file_def_nemo.xml |grep pisces| sed -e 's/field_ref.*//' -e 's/^.*name=//' | sed -e 's/" .*$/",/' |sort |uniq > pisces-vars.txt
return model_component == "nemo" and ecearth_config == "EC-EARTH-CC"
# The list above from the second line on is created by using:
# more basic-flat-cmip6-file_def_nemo.xml |grep pisces| sed -e 's/field_ref.*//' -e 's/^.*name=//' | sed -e 's/" .*$/",/' |sort |uniq > pisces-vars.txt

return True

Expand Down

0 comments on commit 723e4bf

Please sign in to comment.