Using the c2l CFIO offline.x program: Difference between revisions
No edit summary |
No edit summary |
||
Line 29: | Line 29: | ||
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): | 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/ | /discover/nobackup/ltakacs/bcs/Icarus/Shared/ |
Revision as of 13:42, 20 November 2017
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.
# 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 # 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/