Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,26 +13,29 @@ Quick Start Guide:
------------------

cprnc uses cmake and requires netcdf-fortran. It is a serial program and must
use a serial build of the netcdf-fortran library. To build
use a serial build of the netcdf-fortran library. To build:
```shell
cd cprnc
mkdir bld
cd bld
cmake ../
make
```

This should be sufficient if netcdf-fortran and the compiler that
library was built with are in the path.

Finally, put the resulting executable in CCSM_CPRNC as defined in
config_machines.xml.


```
Usage: cprnc [-v] [-d dimname:start[:count]] file1 [file2]
-m: Compare each time sample. Default is false, i.e. match "time"
coordinate values before comparing
-v: Verbose output
-d dimname:start[:count]
Print variable values for the specified dimname index subrange.

```

Users Guide:
------------
Expand Down Expand Up @@ -179,7 +182,7 @@ The unlimited dimension is treated uniquely. In general, for files
that have a dimension named "time", the time axes are compared
and matching time values on the two files are compared one
timestep at a time. Time values that don't match are skipped.
To override the matching behaviour, use cprnc -m. In this mode,
To override the matching behaviour, use `cprnc -m`. In this mode,
timestamps are compared in indexical space. In analyze mode,
the fields are analyzed one timestamp at a time. In general,
if there is a "time" axis, it will be the outer-most loop in
Expand All @@ -188,4 +191,4 @@ and a timestamp that are not common between the two files are
ignored.

It is also possible to compare files that don't have an unlimited
dimension; in this case, the '-m' flag must be given.
dimension; in this case, the `-m` flag must be given.
Loading