Skip to main content

Package to create NCAS AMOF netCDF files.

Project description

ncas-amof-netcdf-template

Documentation Status PyPI Conda (channel only) PyPI - Python Version

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 as None (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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ncas_amof_netcdf_template-2.1.2.tar.gz (15.3 kB view details)

Uploaded Source

Built Distribution

ncas_amof_netcdf_template-2.1.2-py3-none-any.whl (15.5 kB view details)

Uploaded Python 3

File details

Details for the file ncas_amof_netcdf_template-2.1.2.tar.gz.

File metadata

File hashes

Hashes for ncas_amof_netcdf_template-2.1.2.tar.gz
Algorithm Hash digest
SHA256 646ca3b368889a79b78556a8fef7514bcd59a5518e30ffaba287b145f1137be4
MD5 516cc622fe47d919496b2fe6329929a4
BLAKE2b-256 16128a19c5bc76297ce3eefa87b35c0577242c0556dadfb8bd57fd48bc373bfb

See more details on using hashes here.

Provenance

File details

Details for the file ncas_amof_netcdf_template-2.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for ncas_amof_netcdf_template-2.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ee9184c7b4302d6ff3a998730997aff4e97c1ca81155492ba7f32302bcaa1e06
MD5 abbc9b386956cd8a8ade7b6c3f4ac37f
BLAKE2b-256 7c3d7ad3af624803bc0b22046131e04680359deee431f7b74bf8a5c0539c2ad7

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page