lair.noaa.CarbonTracker#
- class lair.noaa.CarbonTracker(version, carbon_tracker_directory=None, cache=True)[source]#
NOAA CarbonTracker
The base of
CarbonTrackerCH4andCarbonTrackerCO2, which are the classes to make (orfrom_version()).- Parameters:
version (str) – The version of CarbonTracker data to download. Visit https://gml.noaa.gov/aftp/products/carbontracker/ to see available versions.
carbon_tracker_directory (str, optional) – The CarbonTracker data root, by default
$LAIR_CARBONTRACKER_DIR.cache (bool, optional) – Whether to cache the data, by default True. The cache is a file in
LAIR_CACHE_DIR(default~/.cache/lair), and the folder is made the first time the data is read, socache=Falseneeds no writable folder.
- Raises:
TypeError – If made as
CarbonTrackeritself, which has no gas.- Variables:
See also
CarbonTrackerCH4CarbonTracker-CH4.
CarbonTrackerCO2CarbonTracker for CO2.
Attributes
Directory of the molefraction (concentration-field) files. |
|
Units of the molefraction field ('ppb' for CH4, 'ppm' for CO2) |
Methods
|
Background mole fraction [ppm]: mean of the sampled field over |
|
Download CarbonTracker data from the NOAA GML FTP server. |
|
Create a CarbonTracker object from the version. |
|
Get the specie from the version. |
|
Sample the molefraction field at |