act.io.read_gml_met

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

Function to read meteorological 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.

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

Returns:

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