Skip to content

NetCDF writer and associated utilities for GGG2020

License

Notifications You must be signed in to change notification settings

TCCON/py_tccon_netcdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

Installation

This package will typically be installed as part of the GGG installation process. Installation outside of GGG is not officially supported. If that is needed, the recommended steps are:

  1. Create a conda environment with Python 3.7 and the dependencies specified in setup.py
  2. Activate that environment
  3. In this directory, run python setup.py --no-user-cfg develop

This will install the entry point scripts into the bin directory of your environment. To install them elsewhere, add the --script-dir option to the python setup.py call, e.g. --script-dir ./scripts to install to ./scripts

Included programs

  • write_netcdf: write a TCCON private netCDF file from GGG output or a public TCCON netCDF file from a private one
  • compare_netcdf: compare two TCCON netCDF files for differences
  • concat_netcdf: concatenate two TCCON private netCDF files along their time dimensions. Public files are not supported.
  • update_site_info: update site-related attributes in a TCCON netCDF file
  • subset_netcdf: subset a private TCCON netCDF file along its time dimensions. Public files are not supported.
  • update_manual_flags: set manual quality flags in a private TCCON netCDF file.

All programs include command line help, use the -h or --help flags to see specific options and flags.

Common usage

Write a private TCCON file - this assumes it is being run in a directory with all of the GGG output and that your GGG run used the "pa_ggg_benchmark" runlog:

write_netcdf pa_ggg_benchmark.tav

Create a public TCCON file from the private file, pa20040721_20041222.private.nc:

write_netcdf --public pa20040721_20041222.private.nc

About

NetCDF writer and associated utilities for GGG2020

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published