Welcome to GSpy: Geophysical Data Standard in Python
This package provides functions and workflows for standardizing geophysical datasets based on the NetCDF file format. The current implementation supports both tabular (unstructured or scattered) and raster (structured or gridded) datasets.
Goals
Standardize a geophysical data format based on the Climate and Forecast (CF) metadata conventions and NetCDF format.
Restructure various types of geophysical data (e.g., raw and processed data, inverted models, or derivative products) into a consistent format for sharing and archiving.
Document critical metadata pertinent to geophysical analysis and transferability.
Develop tools for processing data and preparing data for inversion.
Develop exploratory and visualization tools to interrogate data.
NetCDF Data Standard
Datasets are read from a variety of original formats (CSV, ASEG-GDF, GeoTIFF) and reconfigured to follow a NetCDF based data standard, which includes detailed metadata:
All variables have detailed attributes (names, units, null values, value ranges).
Contains supporting information on the survey, data collection, and modeling parameters.
Standardized coordinate reference system (CRS) variables for maximum portability to other GIS software (QGIS, ArcGIS, etc).
Inputs with different CRSs are reprojected to be consistent for a given survey.
NetCDF is immediately scalable for large datasets, it has efficient read/write and parallel capabilities.
- Getting Started
- API
- Classes
- Data classes
- GS xarray accessor classes
- gs_DataArray
- gs_Coordinate
- gs_Dataset
Dataset
Dataset.add_bounds_to_coordinate()
Dataset.add_coordinate_from_dict()
Dataset.add_coordinate_from_values()
Dataset.add_variable_from_values()
Dataset.is_projected
Dataset.json_metadata
Dataset.open_dataset()
Dataset.open_netcdf()
Dataset.plot()
Dataset.read_metadata()
Dataset.scatter()
Dataset.set_spatial_ref()
Dataset.spatial_ref
Dataset.update_attrs()
Dataset.write_ncml()
Dataset.write_netcdf()
Dataset.write_zarr()
- Tabular
- Tabular_csv
- Tabular_aseg
- Raster
- GS xarray accessor classes
- Survey class
- Data classes
- Classes
- Examples
- GS Convention Requirements