Tabular

- class gspy.gs_dataset.Tabular.Tabular(xarray_obj)
Accessor to xarray.Dataset that handles Tabular data
See also
gspy.Spatial_refFor Spatial reference instantiation.
- get_fortran_format(key, default_f32='f10.3', default_f64='g16.6')
- property is_netcdf
- static metadata_template(filename, metadata_file=None, system=None, **kwargs)
- classmethod read(filename, metadata_file=None, spatial_ref=None, **kwargs)
Instantiate a Tabular class from tabular data
When reading the metadata and data file, the following are established in order * User defined dimensions * User defined coordinates * Columns are read in and/or combined and added to the Dataset as variables
- Parameters:
filename (str) – Filename to read from.
metadata_file (str, optional) – Json file name, by default None
spatial_ref (dict, gspy.Spatial_ref, or xarray.DataArray, optional) – Spatial ref object, by default None
- Returns:
Dataset with all data read in.
- Return type:
xarray.Dataset
See also
survey.Spatial_refFor information on creating a spatial ref
- to_file(filename, **kwargs)
- property type
File type of the Tabular class
- Returns:
File type
- Return type:
str