Hi NCL,
For both the Example 2 and Example 3, I tried to find the destination file:
;---Set the destination file name
dstDirName = "./"
dstFileName = str_upper(vname)+"."+year+"_"+tile+".esmf.nc"
dstPathName = dstDirName+dstFileName
Which were supposed to be: PRCP.2010_12296.esmf.nc
However, I didn't get it.
How can I get the regrided output file? I was suggested that the file will
be generated by default(no need the dstFile=addfile(dstPathName, "c"))
Thanks,
Ping
On Wed, Oct 31, 2012 at 5:22 PM, Dennis Shea <shea@ucar.edu> wrote:
> These are just examples. You must adjust for your needs.
>
> So, if one degree of latitude is ~111.1km and you want 4km spacing,
> the 'dll' in *Example 3* should be adjusted accordingly.
>
> dll = 4.0/111.1 ; km/(km/deg) => deg
>
> [SNIP]
>
>> I also have questions on the code creating the destination grid:
>>
>> ;---Create the destination lat/lon grid
>> NLAT = nlat/4 ; 4 is arbitrary
>> MLON = mlon/3 ; 3 is arbitrary
>> lat = fspan( min(lat2d),max(lat2d),NLAT)
>> lon = fspan( min(lon2d),max(lon2d),MLON)
>>
>> Opt@DstGridType = "rectilinear"
>> Opt@DstGridLat = lat
>> Opt@DstGridLon = lon
>>
>>
>> I saw the number 4 and 3 are arbitrary, why? If I plan to regrid this 1
>> KM to 4 KM, are they should be
>> *nlat/2 *and *mlon/2*?
>>
>
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Nov 1 10:20:29 2012
This archive was generated by hypermail 2.1.8 : Tue Nov 06 2012 - 15:05:49 MST