act.io.read_gml_co2

act.io.read_gml_co2(filename=None, convert_missing=True, **kwargs)[source]

Function to read carbon dioxide data from NOAA GML.

Parameters:
  • filename (str or pathlib.Path) – Data file full path name.

  • convert_missing (boolean) – Option to convert missing values to NaN. If turned off will set variable attribute to missing value expected. This works well to preserve the data type best for writing to a netCDF file.

Returns:

  • dataset (Xarray.dataset) – Standard ARM Xarray dataset with the data cleaned up to have units, long_name, correct type and some other stuff.

  • **kwargs (keywords) – Keywords to pass through to ACT read_csv() routine.