The following table describes utility programs that are distributed with the Century package. These utilities are described in detail in there own sections.
For more utilities, see the IRC Users Guide's Utilities page.
Most of the utilities are command-line programs, so open and command window, console, or shell window to run a utility.
For any utility, use the command-line option --help
to see a list of options.
(That option does not apply to AWK, R, and shell scripts.)
For AWK scripts, enter the program name with the awk
extension.
For R scripts, use the form "Rscript script-name.R
".
Utility File Name | Description | Location |
---|---|---|
createLinks.sh | Make symbolic links for models and utilities in the current directory (e.g., /usr/local/bin or ~/bin). | Century5/scripts |
C5MPI | A front-end for Century5 and DayCent5 which runs multiple simulations concurrently on systems that support MPI. Use for Linux clusters and other MPI-compatible, multiple core/CPU systems. | Century5/bin |
RunCmdLinesCentury5 | Runs Century5 simulations for each of the command-lines in a file. Writes a log file recording the tasks and error messages. This runs on a single CPU; if multiple cores are present, they normally are used. | Century5/bin |
RunCmdLinesDayCent5 | Runs DayCent5 simulations for each of the command-lines in a file. Writes a log file recording the tasks and error messages. This runs on a single CPU; if multiple cores are present, they normally are used. | Century5/bin |
CopySite | Copies Century5/DayCent5 site parameters between site parameter files. | Century5/bin |
CopySoil | Copies Century5/DayCent5 soil data between soil and site parameter files. | Century5/bin |
ef2csv | Converts an erosion output file (in netCDF format) to CSV format (comma-separated values) for importation into a spreadsheet program. | Century5/bin |
ncfilelist | Displays a list of netCDF files in the folder or directory, and indicates if it is a file used or created by Century. | Century5/bin |
CRUToSiteParameters | Calculates monthly statistics of CRU climate data to produce Century model site parameters for climate. | Century5/bin |
DailyWthr2MonthlyWthr | Generates monthly Century weather from daily Century weather data. Daily data can be in either daily text format or a netCDF gridded weather data file. Monthly data is written to a monthly-format text file. | Century5/bin |
DailyWthr2SiteParams | Generates Century site weather parameters from daily Century weather data in text format. Parameters are written to the screen. | Century5/bin |
MakeEmptyFile |
Makes an empty file of one of the Century5/DayCent5/IRC types,
including site, management, and soils files.
For a list of currently supported file types enter the command: MakeEmptyFile -lt
|
Century5/bin |
MonthlyToSiteWeather | Generates Century site weather parameters from monthly Century weather data in text format. Parameters are written to the screen. | Century5/bin |
LatLongCellArea | Calculates an estimate of the area of a cell bounded by geodetic latitude and longitude degrees. | Century5/bin |
ManfredoToPotsdam | Creates a Potsdam 1/2 deg grid representation of the crop data from the 5 minute grid of Monfredo et al (2008). | Century5/bin |
ReplaceSiteParameter | Replaces the value for a single site parameter. | Century5/bin |
ReplaceWeatherFile | Replaces weather file names in a Century5 management file. | Century5/bin |
SplitCmdLinesFile.awk | Divides a command-line file into multiple equal-sized command-line files. | Century5/scripts |
ThinSiteSoils | Given a maximum desired soil layer thickness, modifies the layered parameters such layers are less than the maximum thickness, if possible. | Century5/bin |
convert100dbFrom45.awk | Converts a Century4.5 event database (*.100) file to a Century5/DayCent5 file. | Century5/scripts |
ConvertSch45.awk | Converts a Century4 and 4.5 schedule (*.sch) file to a Century5/DayCent5 schedule file. | Century5/scripts |
CopyFrom100.awk | Copies a parameter set from a *.100 file to the console (stdout). | Century5/scripts |
ls100db.awk | Lists the options in an "event".100 file; e.g., crop.100. | Century5/scripts |
lsSchEvents.awk | Lists the options for events in a Century 4 or 5/DayCent 4 or 5 schedule file. (May also work with Century4.5/DayCent4.5 files.) | Century5/scripts |
Table100db.awk | Writes the parameter sets in a Century4/5 event database (*.100) file to a text file in a tabular CSV format. | Century5/scripts |
Graph1Sim.R | R script to display the output from a Century5/DayCent5 simulation. | Century5/scripts |
Graph2Sims.R | R script to display the output from 2 Century5/DayCent5 simulations. | Century5/scripts |
GraphDif2Sims.R | R script to display the difference in output from 2 Century5/DayCent5 simulations. | Century5/scripts |
Century5.R | Library of R functions to read Century5 output files. | Century5/scripts |
SWCharEst.R | Estimate values for wilting point, field capacity, saturated water content, and saturated hydraulic conductivity from soil texture and organic matter. | Century5/scripts |