This section of the documentation gives an overview of the public facing functions used in the Jupyter notebooks available at the OpenGHG hub. For developers documentation of the internal workings of the library are available in the developer API section.
These modules are used to process observation data. Classes in this module should not be used directly as they
are used by functions in the
LocalClient modules when either uploading data to the OpenGHG cloud platform
or processing data for storage in a local object store.
Process surface observation data
Classes within the client module are used to interact with the cloud based OpenGHG system.
For use with a local version of the object store. These functions make it easy to take advantage of the processing and export capabilities
of OpenGHG on your local filesystem. Use of this module results in the creation of a local object store in a location controlled by the
OPENGHG_PATH environment variable.
Search for surface observations in the object store using a site, species and date range.
Process files for storage in the object store
Rank data sources by date range
Search for data within the object store (soon to be deprecated in favour of
This submodule contains functions that are widely used in the processing functions found in
These functions ensure that the processed data has the correct CF compliant attributes.
Assign attributes to a dictionary of observation data in NetCDF format using
Write attributes to an in-memory NetCDF file to ensure it is CF-compliant
These functions produce files that are used for upload of processed data to archiving facilities such as CEDA.
Create a file that contains the correct attributes for uploading to the CEDA archive
These control the assignment, splitting and recombination of data.
Recombine separate NetCDF files into a single file sorted by date
Assings data to exisiting Datasources or creates new Datasources
The base search functionality provided to the client and localclient modules.
The function that is used by
openghg.localclient.Searchto search the object store