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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b9fb8b2c891f95904ec9afa64eebdfdc5077bed85f6d34069bf25b81f037ebb |
|
MD5 | 64c18f123c2300444c33760ae789c427 |
|
BLAKE2b-256 | 6f0845ac619402ecca02ed8fa22deac9f8be700f318a5ca62efba014713f3574 |
Close
Hashes for ncas_amof_netcdf_template-2.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56e3e28190b2a78da46c3a1b8ce6981a12cb0602caabd8ac7a6aa01d1166a5c7 |
|
MD5 | 3819c700a778374d7e90f3a08aa7ed3b |
|
BLAKE2b-256 | bfab4e475843ee602bb6d45da37f1146a28f7f577770cf46ceac4f29bce90279 |