pydropsonde.helper.xarray_helper#
Functions
|
add ancillary variable to xarray dataset variable |
|
get standard chunks for one object_dim (like sonde_id or circle_id) and one height dimension |
|
get encoding for a dataset depending on filetype |
|
get netcdf encoding for dataset default compression is zlib for compatibility |
|
reduce float dtypes to float32 and properly encode time |
|
get zarr encoding for dataset |
|
open an xr.dataset from path depending on filetype |
|
write dataset to file depending on filetype. |
|
standardized way to write level files; includes determination of filetype and encoding |