Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

A page describing what we want in regridders for ACME is at: Regridding - v0.3 AMIP runs. Based on analysis described on Validation and Benchmarking of Regridders, NCO and UV-CDAT regridders both satisfy these requirements and are suitable for use. The purpose of this page is to describe how to use these regridders.

UV-CDAT:

Prerequisites:

You need a UV-CDAT version later than git commit bbf9187f694f828ceb2233407a79a9ff7400d643 for a bug-free version of the UV-CDAT regridder.

To Use:

Explanation needed here.

NCO:

Prerequisites:

You need NCO version later than 4.5.0. You can check this by typing "ncks --version".

To Use:

Explanation needed here.Regridding occurs in 2 steps: first, a mapping file is obtained which contains the matrix which, when multiplied by an array of input data for some variable, yields the regridded array for that variable. Instructions for obtaining this mapping file are given in the "Getting Mapping Files" section below. Basically, these files are probably already created for you and you can just download them. The second step is passing the input file and the mapping file to the regridder code, which then does the matrix multiply for each variable and returns a file containing the requested variables on the output grid.

Getting Mapping Files:

See Regridding – obtaining mapping files

UV-CDAT:

see: ACME regridder instructions

NCO:

see http://nco.sourceforge.net/nco.html#regrid

NCL:

NCL is much slower than either of the above regridders and its metadata is worse, so we don't recommend its use. However, we did create a confluence page documenting how to use it so I'm including it here for posterity: /wiki/spaces/WORKFLOW/pages/16253082... But in general, don't use this code!