<div dir="ltr"><div><a href="http://www.ncl.ucar.edu/Applications/ESMF.shtml">http://www.ncl.ucar.edu/Applications/ESMF.shtml</a><br></div>Example 6<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Oct 25, 2014 at 5:46 AM, 李嘉鹏 <span dir="ltr"><<a href="mailto:lijpbasin@126.com" target="_blank">lijpbasin@126.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Are you looking for functions to interpolate data from regional model to lat-lon grid? `rcm2grid` can do this, IIRC.<br>
<br>
于 2014年10月25日 格林尼治标准时间+0800下午7时02分40秒, "張顧.煒Zane" <<a href="mailto:489645692@qq.com">489645692@qq.com</a>> 写到:<br>
<div><div class="h5">>Hi,<br>
><br>
><br>
> I have downloaded CMIP5 ocean temp. data<br>
>(tos_Omon_ACCESS1-0_historical_r1i1p1_185001-200512.nc)<br>
> but find that the horizontal grid is not regular grid used for GRADS<br>
>(see below)<br>
><br>
><br>
> Therefor I think I need to regrid the ocean temp. data from these<br>
>irregular grid points to the regular 1.0*1.0 grid.<br>
><br>
><br>
> I am asking if NCL can do the interpolation? If so, Could you point<br>
>out to me the key sentences used in NCL scripts?<br>
><br>
><br>
><br>
><br>
> Thanks,<br>
> Zane<br>
><br>
><br>
>--------------------<br>
>netcdf tos_Omon_ACCESS1-0_historical_r1i1p1_185001-200512.nc{<br>
><br>
>Dimensions: 5<br>
><br>
> time = 1872;<br>
><br>
> j = 300;<br>
><br>
> i = 360;<br>
><br>
> bnds = 2;<br>
><br>
> vertices = 4;<br>
><br>
>Global Attributes: 28<br>
><br>
> : institution = "CSIRO (Commonwealth Scientific and Industrial<br>
>Research Organisation, Australia), and BOM (Bureau of Meteorology,<br>
>Australia)";<br>
><br>
> : institute_id = "CSIRO-BOM";<br>
><br>
> : experiment_id = "historical";<br>
><br>
> : source = "ACCESS1-0 2011. Atmosphere: AGCM v1.0 (N96 grid-point,<br>
>1.875 degrees EW x approx 1.25 degree NS, 38 levels); ocean: NOAA/GFDL<br>
>MOM4p1 (nominal 1.0 degree EW x 1.0 degrees NS, tripolar north of 65N,<br>
>equatorial refinement to 1/3 degree from 10S to 10 N, cosine dependent<br>
>NS south of 25S, 50 levels); sea ice: CICE4.1 (nominal 1.0 degree EW x<br>
>1.0 degrees NS, tripolar north of 65N, equatorial refinement to 1/3<br>
>degree from 10S to 10 N, cosine dependent NS south of 25S); land:<br>
>MOSES2 (1.875 degree EW x 1.25 degree NS, 4 levels";<br>
><br>
> : model_id = "ACCESS1-0";<br>
><br>
> : forcing = "GHG, Oz, SA, Sl, Vl, BC, OC, (GHG = CO2, N2O, CH4, CFC11,<br>
>CFC12, CFC113, HCFC22, HFC125, HFC134a)";<br>
><br>
> : parent_experiment_id = "piControl";<br>
><br>
> : parent_experiment_rip = "r1i1p1";<br>
><br>
> : branch_time = 109207;<br>
><br>
> : contact = "The ACCESS wiki:<br>
><a href="http://wiki.csiro.au/confluence/display/ACCESS/Home" target="_blank">http://wiki.csiro.au/confluence/display/ACCESS/Home</a>. Contact<br>
>Tony.Hirst@csiro.au regarding the ACCESS coupled climate model. Contact<br>
>Peter.Uhe@csiro.au regarding ACCESS coupled climate model CMIP5<br>
>datasets.";<br>
><br>
> : history = "CMIP5 compliant file produced from raw ACCESS model<br>
>output using the ACCESS Post-Processor and CMOR2. 2012-01-15T21:24:32Z<br>
>CMOR rewrote data to comply with CF standards and CMIP5 requirements.";<br>
><br>
> : references = "See<br>
><a href="http://wiki.csiro.au/confluence/display/ACCESS/ACCESS+Publications" target="_blank">http://wiki.csiro.au/confluence/display/ACCESS/ACCESS+Publications</a>";<br>
><br>
> : initialization_method = 1;<br>
><br>
> : physics_version = 1;<br>
><br>
> : tracking_id = "0ae7d1af-8d73-4b79-b2e3-6e6ae10ce782";<br>
><br>
> : version_number = "v20120115";<br>
><br>
> : product = "output";<br>
><br>
> : experiment = "historical";<br>
><br>
> : frequency = "mon";<br>
><br>
> : creation_date = "2012-01-15T21:24:32Z";<br>
><br>
> : Conventions = "CF-1.4";<br>
><br>
> : project_id = "CMIP5";<br>
><br>
> : table_id = "Table Omon (27 April 2011)<br>
>694b38a3f68f18e58ba80230aa4746ea";<br>
><br>
> : title = "ACCESS1-0 model output prepared for CMIP5 historical";<br>
><br>
> : parent_experiment = "pre-industrial control";<br>
><br>
> : modeling_realm = "ocean";<br>
><br>
> : realization = 1;<br>
><br>
> : cmor_version = "2.8.0";<br>
><br>
>Variations: 9<br>
><br>
> NC_DOUBLE time(time);<br>
><br>
> time: bounds = "time_bnds";<br>
><br>
> time: units = "days since 0001-01-01";<br>
><br>
> time: calendar = "proleptic_gregorian";<br>
><br>
> time: axis = "T";<br>
><br>
> time: long_name = "time";<br>
><br>
> time: standard_name = "time";<br>
><br>
> NC_DOUBLE time_bnds(time,bnds);<br>
><br>
> NC_INT j(j);<br>
><br>
> j: units = "1";<br>
><br>
> j: long_name = "cell index along second dimension";<br>
><br>
> NC_INT i(i);<br>
><br>
> i: units = "1";<br>
><br>
> i: long_name = "cell index along first dimension";<br>
><br>
> NC_FLOAT lat(j,i);<br>
><br>
> lat: standard_name = "latitude";<br>
><br>
> lat: long_name = "latitude coordinate";<br>
><br>
> lat: units = "degrees_north";<br>
><br>
> lat: bounds = "lat_vertices";<br>
><br>
> NC_FLOAT lon(j,i);<br>
><br>
> lon: standard_name = "longitude";<br>
><br>
> lon: long_name = "longitude coordinate";<br>
><br>
> lon: units = "degrees_east";<br>
><br>
> lon: bounds = "lon_vertices";<br>
><br>
> NC_FLOAT lat_vertices(j,i,vertices);<br>
><br>
> lat_vertices: units = "degrees_north";<br>
><br>
> NC_FLOAT lon_vertices(j,i,vertices);<br>
><br>
> lon_vertices: units = "degrees_east";<br>
><br>
> NC_FLOAT tos(time,j,i);<br>
><br>
> tos: standard_name = "sea_surface_temperature";<br>
><br>
> tos: long_name = "Sea Surface Temperature";<br>
><br>
> tos: comment = ""this may differ from ""surface temperature"" in<br>
>regions of sea ice."";<br>
><br>
> tos: units = "K";<br>
><br>
> tos: cell_methods = "time: mean";<br>
><br>
> tos: cell_measures = "area: areacello";<br>
><br>
> tos: history = "2012-01-15T21:24:31Z altered by CMOR: replaced<br>
>missing value flag (-1e+20) with standard missing value (1e+20).";<br>
><br>
> tos: missing_value = 1E+20;<br>
><br>
> tos: _FillValue = 1E+20;<br>
><br>
> tos: associated_files = "baseURL:<br>
><a href="http://cmip-pcmdi.llnl.gov/CMIP5/dataLocation" target="_blank">http://cmip-pcmdi.llnl.gov/CMIP5/dataLocation</a> gridspecFile:<br>
>gridspec_ocean_fx_ACCESS1-0_historical_r0i0p0.nc areacello:<br>
>areacello_fx_ACCESS1-0_historical_r0i0p0.nc";<br>
><br>
> tos: coordinates = "lat lon";<br>
><br>
><br>
><br>
>Unlimited dimension: 0<br>
><br>
>}<br>
><br>
</div></div>>------------------------------------------------------------------------<br>
><br>
>_______________________________________________<br>
>ncl-talk mailing list<br>
>List instructions, subscriber options, unsubscribe:<br>
><a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
<br>
<br>
_______________________________________________<br>
ncl-talk mailing list<br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
</blockquote></div><br></div>