API¶
Top-level API¶
|
Open and decode a dataset from a file or file-like object. |
Unit registry class. |
DataArray¶
Attributes¶
Attribute for location-based indexing like xr.DataArray.loc, but also supports short aliases like |
|
The pint conversion context for this DataArray, directly usable for conversions. |
Methods¶
|
Attaches units to the DataArray. |
Removes units from the DataArray and its coordinates. |
|
|
Convert to a global warming potential |
Convert to a global warming potential in the units of a reference array using the |
|
|
Convert a global warming potential of a greenhouse gas to a mass. |
|
Fill NA values only where all values along the specified dimension(s) are NA. |
|
Reduce this DataArray's data by applying sum along some dimension(s). |
|
Reduce this array by counting along some dimension(s). |
|
Downscale timeseries along a dimension using a basket defined on a broader timeseries. |
|
Like da[], but translates short aliases like "area" into the long names including the corresponding category-set. |
|
Set values, optionally expanding the given dimension as necessary. |
|
Summarize how many data points exist for a dimension combination. |
|
Convert this array into an unstacked (i.e. |
Dataset¶
Attributes¶
Attribute for location-based indexing like xr.Dataset.loc, but also supports short aliases like |
|
citable reference(s) describing the data |
|
license or other usage restrictions of the data |
|
who can answer questions about the data |
|
a succinct description |
|
longer form description |
|
where the data originates |
|
processing steps done on the data |
Methods¶
Ensure this is a valid primap2 data set. |
|
|
Write dataset contents to a netCDF file. |
|
Convert this dataset into a pandas.DataFrame. |
|
Convert dataset to the interchange format. |
|
Attaches units to each variable in the Dataset. |
Removes units from the Dataset and its coordinates. |
|
|
Fill NA values only where all values along the specified dimension(s) are NA. |
|
Reduce this Dataset's data by applying sum along some dimension(s). |
|
Reduce this Dataset by counting along some dimension(s). |
|
The sum of gas basket contents converted using the global warming potential of the gas basket. |
Fill NA values in a gas basket using the sum of its contents. |
|
|
Downscale timeseries along a dimension using a basket defined on a broader timeseries. |
Downscale a gas basket defined on a broader timeseries to its contents known on fewer time points. |
|
|
Like ds[], but translates short aliases like "area" into the long names including the corresponding category-set. |
|
Set values, optionally expanding the given dimension as necessary. |
|
Summarize how many data points exist for a dimension combination. |