utils
Helpers for the xarray-based NetCDF and Zarr readers and writers.
Functions
| Name | Description |
|---|---|
| dataset_to_patch_meta |
Describe an open dataset’s payload without reading it; key sets its key.
|
| get_cf_version | Extract the CF convention version string from a NetCDF file. |
| get_scan_coord | Return a coordinate for scanning; snap only controls exactness. |
| get_xarray_data_var_name | Return the main xarray data variable name. |
| is_netcdf4_file | Return True when an HDF5 file exposes strong NetCDF/CF markers. |
| parse_cf_version | Parse a CF version string into comparable major/minor integers. |
| read_dataset_array | Slice the payload variable of an open xarray dataset. |
| spool_to_cf_dataset |
Return the only patch of a spool as a CF dataset with a data payload.
|