CopySite


Copies Century5/DayCent5 site parameters between site parameter files.

Usage: CopySite [options]

Options:

-i | --input value Input file name
-o | --output value Output file. For a spatial netCDF file, data is appended.
[ -id value ] Input ID number. Ignored if not a spatial netCDF file.
[ -site ] Output is a single-site netCDF file.
[ -sitesp ] Output is a site spatial netCDF file.
[ -replace ] Replace the output file (default is do not replace).
[ -quiet ] Do not display file names (for single file I/O default is display names).
[ -pb | --progress ] Display a progress bar (no file name display).
[ -? | --help ] Display application help
[ -v | --version ] Display application information

Usage forms:

-i site1.100 -o site2.100 Copy site1 to site2 100 file.
-i site.100 -o site.nc -site Copy site to single-site netCDF file.
-i site.100 -o siteSp.nc -sitesp Copy site to spatial netCDF file.
-i site.nc -o site.100 Copy site to text file.
-i site1.nc -o site2.nc -site Copy site1 to site2 netCDF file.
-i site.nc -o siteSp.nc -sitesp Copy site to spatial netCDF file.
-i *.nc -o siteSp.nc -sitesp Copy several sites to spatial netCDF file.
-i siteSp.nc -id 42 -o site.100 Copy site 42 from spatial file to text file.

Supported format are show below. (File extensions are significant; file name parts are not.)

site.100 site parameters in a text file
site.nc site parameters in a single-site netCDF file
siteSp.nc site parameters in a spatial site netCDF file