joanballester_ic3@gmail_com
New Member
Hi all,
I want to create a new user-defined grid, but I need first to generate a SCRIP grid file for the atmosphere and ocean model components (point 1 in page 79 of the CESM1.2 user's guide).
I have successfully generated SCRIP grid files by using the following NCL function:
gridname = "output_filename.nc"
lat = 1d_vector
lon = 1d_vector
opt = True
opt@Mask2D = where(.not.ismissing(mask),1,0)
rectilinear_to_SCRIP(gridname,lat,lon,opt)
However, I need to specify the land/sea mask for the ocean. I assume that I have to interpolate it from a pre-existing out-of-the-box predefined grid file. Is it right? Where could I find this file? Is there any file with very large resolution so that the interpolation does not generate large errors? Should the land/sea mask be a 3D matrix depending on longitude, latitude and depth? (that is, taking into account the bathymetry?).
Many many thanks for your help.
joan
I want to create a new user-defined grid, but I need first to generate a SCRIP grid file for the atmosphere and ocean model components (point 1 in page 79 of the CESM1.2 user's guide).
I have successfully generated SCRIP grid files by using the following NCL function:
gridname = "output_filename.nc"
lat = 1d_vector
lon = 1d_vector
opt = True
opt@Mask2D = where(.not.ismissing(mask),1,0)
rectilinear_to_SCRIP(gridname,lat,lon,opt)
However, I need to specify the land/sea mask for the ocean. I assume that I have to interpolate it from a pre-existing out-of-the-box predefined grid file. Is it right? Where could I find this file? Is there any file with very large resolution so that the interpolation does not generate large errors? Should the land/sea mask be a 3D matrix depending on longitude, latitude and depth? (that is, taking into account the bathymetry?).
Many many thanks for your help.
joan