I ran your code on one of our divisional servers.
It took 332 seconds. The linint2 code is simple standard fortran.
I can send it to you if you want to try to optimize it.
output:
Variable: sce_all
Type: float
Total Size: 273760000 bytes
68440000 values
Number of Dimensions: 2
Dimensions and sizes: [fakeDim0 | 5900] x [fakeDim1 | 11600]
Coordinates:
Number Of Attributes: 2
_FillValue : 9.96921e+36
hdf_name : snowExtent
(0)
(0) min=-128 max=127
Variable: sce
Type: float
Total Size: 273760000 bytes
68440000 values
Number of Dimensions: 2
Dimensions and sizes: [5900] x [11600]
Coordinates:
Number Of Attributes: 1
_FillValue : 9.96921e+36
(0)
(0) min=100 max=127
(0) regridding
(0)
******> Wall Clock Elapsed Time: linint2: 332 seconds <*****
Variable: new_sce
Type: float
Total Size: 10950400 bytes
2737600 values
Number of Dimensions: 2
Dimensions and sizes: [1180] x [2320]
Coordinates:
Number Of Attributes: 1
_FillValue : 9.96921e+36
(0)
(0) min=100 max=127
On 01/28/2011 12:34 PM, Gina Henderson wrote:
> Hi there,
>
> I am trying to regrid some high resolution data to a coarser grid using
> the linint2 function. I am trying to regrid data on a 0.01x0.01 grid to
> a 0.05x0.05 grid. When I try and run my ncl script it seems to be very
> slow and has not successfully run through and performed the regrid as of
> yet. I am wondering if the problem is just the size of the data I am
> trying to regrid?
>
> I am running ncl version 5.2.1 on the following system: Darwin
> geog-gina-mbpro.local 10.6.0 Darwin Kernel Version 10.6.0: Wed Nov 10
> 18:13:17 PST 2010; root:xnu-1504.9.26~3/RELEASE_I386 i38
>
> I have uploaded a subsection of the original HDF file onto the
> ftp.cdg.ucar.edu <http://ftp.cdg.ucar.edu> server as the original file
> was very large. The data file is called: highres_data_ginah.nc
> <http://highres_data_ginah.nc> and the script I am using to read it is:
> regrid_hires_ginah.ncl
>
> Any suggestions would be great.
>
> Thanks, Gina.
>
>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
-- ====================================================== Dennis J. Shea tel: 303-497-1361 | P.O. Box 3000 fax: 303-497-1333 | Climate Analysis Section | Climate & Global Dynamics Div. | National Center for Atmospheric Research | Boulder, CO 80307 | USA email: shea 'at' ucar.edu | ====================================================== _______________________________________________ ncl-talk mailing list List instructions, subscriber options, unsubscribe: http://mailman.ucar.edu/mailman/listinfo/ncl-talkReceived on Fri Jan 28 14:16:46 2011
This archive was generated by hypermail 2.1.8 : Mon Jan 31 2011 - 10:38:24 MST