Package to create NCAS AMOF netCDF files.
Project description
ncas-amof-netcdf-template
Makes 'just-add-data' AMOF-compliant netCDF4 file.
A full description on how to install and use this module can be found through the documentation.
Requirements
Installation
Releases of ncas-amof-netcdf-template
can be installed using conda,
conda install -c conda-forge ncas-amof-netcdf-template
or by using pip,
pip install ncas-amof-netcdf-template
or releases can be downloaded from GitHub and installed using
pip install .
Usage
A fuller description of how to use this module can be found in the documentation.
import ncas_amof_netcdf_template as nant
nant.create_netcdf.main(instrument, date = None, dimension_lengths = {}, loc = 'land', products = None)
where:
instrument
- name of NCAS instrument, e.g. "ncas-ceilometer-3"date
- date for data, YYYYmmdd format, default to today's date. Optional.dimension_lengths
- dictionary of lengths of dimensions, e.g. {'time':96, 'altitude':45}. If length for required dimensions are not given, then python will ask for user input, default empty. Optional.loc
- one of 'land', 'air', 'sea', or 'trajectory', default is 'land'. Optional.products
- applicable products of desired NCAS instrument to make netCDF for. Setting products asNone
(default) makes netCDF file for all available products. Optional.verbose
- additional level of information and warnings to print. Only 1 additional layer of warnings are currently available.
All products associated with an instrument can be printed by
import ncas_amof_netcdf_template as nant
nant.create_netcdf.list_products(instrument)
where instrument
is replaced with the name of the NCAS instrument.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for ncas_amof_netcdf_template-2.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b238e205691e6138f487af4c3946a5248313bd668a81acd3ca883ca2f053ce56 |
|
MD5 | be7312ebd71d29e7dea8b9322f1738b5 |
|
BLAKE2b-256 | e9a1faef0d2ee587d9ac07d600f3efd910f265c27040fa4454668541cc353168 |
Close
Hashes for ncas_amof_netcdf_template-2.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8cae0f2d5874192202106f147adcc165fa2982ebcda6d5a08cd9fbae2e5b42aa |
|
MD5 | 82d4ce597d7674d4c84fcfabd4b55880 |
|
BLAKE2b-256 | 4e33a2a82ab5cb4082db33b50b16270811541f50df7581a73e757179bd9576cf |