Published July 14, 2022 | Version v0.2.0
Software Open

ACRG-Bristol/acrg: ACRG v0.2.0

Description

ACRG standardisation and inversion code v0.2.0

Added

  • Ability to convert calibration scale in get_obs
  • New "defaults" file that specifies inlets and instruments to use for particular time periods
  • An obs.db SQLite database that specifies the location of all obs files and basic details about their contents (species, inlet, time range, etc.)
  • notebooks directory for Jupyter notebooks
  • notebooks/tutorials directory for notebook based tutorials
  • a tmp directory to store random job script output files
  • added a dev environment that includes spyder and a lighter environment that does not

Changed

  • get_single_site now returns a list of xarray datasets, one for each combination of inlet and site. If defaults are specified, the list will contain the default instruments and inlets for each period
  • get_obs now returns a dictionary containing lists of datasets
  • calibration scale and inlet are now attributes to obs datasets (e.g. ds.attrs["scale"])
  • fp_data_merge now works with new get_obs object
  • The flux function will now look for species-total.nc named files first and then look for species.nc files. This will not be able to read both files. This can still accept an more explicit source such as co2-ff_*.nc as an alternative to this.
  • arviz package version pinned to prevent conflict with pymc3 version

Files

ACRG-Bristol/acrg-v0.2.0.zip

Files (91.2 MB)

Name Size Download all
md5:2992d21f5329920349f2199f12913d32
91.2 MB Preview Download

Additional details

Related works