Using the c2l CFIO offline.x program

From GEOS-5
Revision as of 13:38, 20 November 2017 by Bmauer (talk | contribs) (Created page with "The c2l_CFIO_offline.x program is a simple program that uses the I/O layer that MAPL_History uses to read in a file and regrid it to a different resolution using our built in...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The c2l_CFIO_offline.x program is a simple program that uses the I/O layer that MAPL_History uses to read in a file and regrid it to a different resolution using our built in transformations to convert cubed-sphere files to lat-lon files. It also handles both bilinear and conservative regridding. The program is driven through a resource file. It must be run on at least 6 processors via the correct mpirun command for your build.

The name of resource file is c2l_CFIO_offline.rc

An example resource file to go from c90 to 180x91 is given below, note you must give the time you want to regrid.

  1. required entries

IM_World: 90 JM_World: 540 LM_World: 72 nlon: 180 nlat: 91 input_file: myinputfile.nc4 output_file myoutputfile.nc4 year: 2000 month: 12 day: 1 hour: 21 minute: 0

  1. optional entries, the defaults are in parentheses

NX: 1 (1) NY: 6 (6) USE_SHMEM: .false. (.false.) CONSERVATIVE: .true. (.false.) vars: (give a comma separated list of variables you want regridded)


If you choose conservative regridding you must link in the tile file you would need for the 2 resolutions. These can be found here all the .bin files): /discover/nobackup/ltakacs/bcs/Icarus/Shared/