pyopia.io#
Module containing tools for datafile and metadata handling
Functions
|
Deprecated since version 2.4.8. |
|
Adds CF-compliant attributes and units to the xarray Dataset. |
|
Deprecated since version 2.4.11. |
|
Concatenate specified list of STATS.nc files into one 'xstats' xarray dataset created by :func:`pyopia.io.write_stats when using 'append = false'. |
|
|
|
Load the summary stats and time information for each image |
|
Load -STATS.nc file as xarray Dataset |
|
A loading function for stats files that forces stats into a pandas DataFrame |
|
Load a TOML settings file from file |
|
Converts a stats dataframe into xarray DataSet, with metadata |
|
Combine a multi-file directory of STATS.nc files into a single '-STATS.nc' file that can then be loaded with |
|
Setup encoding for writing to NetCDF, where string variables are explicitly defined as string types |
|
prints metadata from an exported hdf5 file created from pyopia.process |
|
Get the steps attribute from xarray version of the particle stats into a dictionary |
|
Writes particle stats into the ouput file. |
Classes
|
PyOpia pipline-compatible class for calling write_stats() that created NetCDF files. |