Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

create a curvilinear grid

Status
Not open for further replies.

Chr

Christian Dold
New Member
My domain of interest comprises a grid of equal area in the northern hemisphere, i.e. a curvilinear grid. I noticed that mkscripgrid.ncl creates a SCRIPGRID file with rectilinear grid coordinates. Is there a way to create a curvilinear grid?

I tried it by forcing the curvilinear coordinates onto the SCRIPGRID file, but mkmapdata.sh broke down with an error after the ninth map (or so), stating that a corner coordinate was wrong.

So our current workaround is to regrid the rectilinear surface and domain file to curvilinear with ESMF_regrid_with_weights and "neareststod". However, I am not sure, how regridding a regridded file (i.e., rectilinear products to curvilinear) affects the variables. The domain file looked reasonable, but the variables LATIXY and LONGXY in the surface data file were off compared to the original grid. SoI pushed the correct coordinates onot the surface file.

CLM5 accepted both, domain and surface file.

Any information on how to deal with curvilinear grids in CLM are much appreciated.
 
Status
Not open for further replies.
Top