benbovy / PyGChem

A Python interface to the GEOS-Chem Model, a global 3-D chemical transport model (CTM) for atmospheric composition
GNU General Public License v3.0
10 stars 4 forks source link

Updated ctm.bpch to NetCDF variable mapping to catch spaces in variables #7

Closed tsherwen closed 7 years ago

tsherwen commented 7 years ago

In GEOS-Chem runs (e.g. POPs) variable names contained spaces (e.g. 'OCPO em'). This caused errors when attempting to load dataset, therefore the a replacement of the spaces in variable names with underscores has been added to 'VARNAME_MAP_CHAR'.

benbovy commented 7 years ago

Merged. Thanks @tsherwen!