Skip to content
Thomas Nipen edited this page Apr 13, 2020 · 1 revision

Command-line examples

Variables, such as precipitation, are often accumulated in the file. Sometimes operations should be done on deaccumulated fields. To do this use the deaccumulate calibrator:

gridpp input.nc output.nc -vi precipitation_amount_acc -v precipitation_amount -c deaccumulate

The variable can be deaccumulated, processed, then accumulated as follows:

gridpp input.nc output.nc -v precipitation_amount_acc\
                          -c deaccumulate\
                          -c neighbourhood radius=3\
                          -c accumulate

Library examples

Clone this wiki locally