act.io.read_psl_surface_met#

act.io.read_psl_surface_met(filenames, conf_file=None)[source]#

Returns xarray.Dataset with stored data and metadata from a user-defined NOAA PSL SurfaceMet file.

Parameters:
  • filenames (str, list of str) – Name of file(s) to read.

  • conf_file (str or Pathlib.path) – Default to ./conf/noaapsl_SurfaceMet.yaml Filename containing relative or full path to configuration YAML file used to describe the file format for each PSL site. If the site is not defined in the default file, the default file can be copied to a local location, and the missing site added. Then point to that updated configuration file. An issue can be opened on GitHub to request the missing site to the configuration file.

Returns:

ds (xarray.Dataset) – Standard Xarray dataset with the data