<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hello dear ncl-users,</p>
<p>Can someone advice me whether the following method is correct?</p>
<p>I have an initial CESM POP file with lat and lon in generic grid
which looks like the below:</p>
<p>netcdf zos_Omon_CESM1-CAM5_historical_rcp85_r38i1p1_192001-210012
{<br>
dimensions:<br>
time = UNLIMITED ; // (2172 currently)<br>
i = 320 ;<br>
j = 384 ;<br>
variables:<br>
double time(time) ;<br>
time:standard_name = "time" ;<br>
time:long_name = "time" ;<br>
time:units = "days since 0000-01-01 00:00:00" ;<br>
time:calendar = "365_day" ;<br>
time:axis = "T" ;<br>
int i(i) ;<br>
i:long_name = "cell index along first dimension" ;<br>
i:units = "1" ;<br>
i:axis = "X" ;<br>
int j(j) ;<br>
j:long_name = "cell index along second dimension" ;<br>
j:units = "1" ;<br>
j:axis = "Y" ;<br>
float lat(j, i) ;<br>
lat:standard_name = "latitude" ;<br>
lat:long_name = "latitude coordinate" ;<br>
lat:units = "degrees_north" ;<br>
float lon(j, i) ;<br>
lon:standard_name = "longitude" ;<br>
lon:long_name = "longitude coordinate" ;<br>
lon:units = "degrees_east" ;<br>
float zos(time, j, i) ;<br>
zos:standard_name = "sea_surface_height_above_geoid" ;<br>
zos:long_name = "sea_surface_height_above_geoid" ;<br>
zos:units = "m" ;<br>
zos:_FillValue = 1.e+20f ;<br>
zos:missing_value = 1.e+20f ;<br>
zos:comment = "Created using NCL code" ;<br>
zos:cell_methods = "time: mean (interval: 1 month)" ;<br>
zos:history = "SSH/100" ;<br>
zos:original_units = "cm" ;<br>
zos:original_name = "SSH" ;</p>
<p>I tried several methods to convert this into a regular LatLon
grid, finally using the method from here:
<a class="moz-txt-link-freetext" href="https://www.ncl.ucar.edu/Applications/pop2lat.shtml">https://www.ncl.ucar.edu/Applications/pop2lat.shtml</a></p>
<p>I used the <a
href="https://www.ncl.ucar.edu/Applications/Scripts/pop2lat_1.ncl">pop2lat_1.ncl</a>:
to interpolate with this POP weights file:
map_gx1v6_to_1x1d_bilin_da_100716.nc.</p>
<p>Attached here is the script i modified as well as the plot. I do
not get any error, but i wish to know if this was the correct
method? There are many POP weights available and i choose this
one. <br>
</p>
<p>Best</p>
<p>Sri<br>
</p>
<pre class="moz-signature" cols="72">--
Dr. Sri Nandini-Weiss
Center for Earth System Research and Sustainability (CEN)
Cluster of Excellence 'Climate, Climatic Change, and Society' (CLICCS)
Universität Hamburg
Institute of Oceanography
Bundesstraße 53
20146 Hamburg
Germany</pre>
</body>
</html>