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.0.1.tar.gz (13.5 kB view details)

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for ncas_amof_netcdf_template-2.0.1.tar.gz
Algorithm Hash digest
SHA256 1b9eb4f7460a665089dfa14bfd253500e707e933bb710526769ac80c2da59f1b
MD5 8f5df201b2c0bdd7598868566ed2b43c
BLAKE2b-256 e5cb7b2d7e06f2c1ad8843a6c099f1c92058b25df457560b1cec793940dd5898

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for ncas_amof_netcdf_template-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0f158e70da985646752257ac529b9b242cdaaf804efa1a31fb6624f48959e4c3
MD5 70c4698cf495a5e4cb7644d40b8b4704
BLAKE2b-256 bed83a13cf85637c0bfec17d641b09abd5b413c6b6a17d6fc7b2b130ebf711cc

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