LandscapeDNDC inventory postprocessor to netCDF format
Project description
LandscapeDNDC inventory postprocessor to netCDF format
Overview
This package converts LanscapeDNDC output to netCDF files for selected variables. Currently used for Viet Nam inventory, but in general applicable for all raster- based LandscapeDNDC simulations.
Installation / Usage
To install use pip:
$ pip install ldndc2nc
Contributing
Please file a pull request (PR) at github here.
Example
ldndc2nc -r REFDATA.nc,cid -y 2000-2010 -o output.nc ldndc_results_dir ldndc_netcdf_dir
Usage
usage: ldndc2nc [-h] [-c MYCONF] [-l PATTERN] [-o OUTFILE] [-r FILE,VAR] [-s]
[-S] [-v] [-y YEARS]
indir outdir
positional arguments:
indir location of source ldndc txt files
outdir destination of created netCDF files
optional arguments:
-h, --help show this help message and exit
-c MYCONF use MYCONF file as config (default: None)
-l PATTERN limit files by PATTERN (default: None)
-o OUTFILE name of the output netCDF file (default: outfile.nc)
-r FILE,VAR refdata from netCDF file (default: None)
-s split output to yearly netCDF files (default: False)
-S make passed config (-c) the new default (default: False)
-v increase output verbosity (default: False)
-y YEARS range of years to consider (default: 2000-2015)
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ldndc2nc-0.1.0.tar.gz.
File metadata
- Download URL: ldndc2nc-0.1.0.tar.gz
- Upload date:
- Size: 21.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ad46017a3526844cdce41b648847176397c74455710171c9be43b5ba35ae9523
|
|
| MD5 |
05e965b39e2d4d0036ae7ee76a3bf3f2
|
|
| BLAKE2b-256 |
22ce263b6b358038be9408aa91787be4689987cbd4867a2ee24ad0b5f1140c7b
|
File details
Details for the file ldndc2nc-0.1.0-py3-none-any.whl.
File metadata
- Download URL: ldndc2nc-0.1.0-py3-none-any.whl
- Upload date:
- Size: 12.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
581d682234df6b90f8b12e9d09ad5ecf6b1804e56dd56f8bed0b058fe6af3e30
|
|
| MD5 |
01c3ba16a742e6afe063d14dac47f14c
|
|
| BLAKE2b-256 |
1f18077867198d57db4b1e337a210c64e47d646ae96f6ded0c2e3f822c738d54
|