Re: How to speed up my script for finding matching points, getting the data and making scatter plots

From: yunfei zhang <yunfei_at_nyahnyahspammersnyahnyah>
Date: Wed Dec 30 2009 - 11:18:16 MST

As of version 5.1.0, wrf_user_latlon_to_ij is obsolete. Use *
wrf_user_ll_to_ij*<http://www.ncl.ucar.edu/Document/Functions/WRF_arw/wrf_user_ll_to_ij.shtml>
 instead.

2009/12/30 Yongxin Zhang <yongxin.fred@gmail.com>

> I have three sets of netCDF files for the month of August, hourly precip
> analyses with grids of 1191 X 765, hourly precip forecasts from WRF Domain 1
> with grids of 439 X 301, and hourly precip forecasts from WRF Domain 2 with
> grids of 1190 X 764. The analyses domain and WRF Domain 2 are identical
> except offset by 1 point in each direction. What I wanted to do is to find
> every matching point in the analyses domain and WRF Domain 2 to that of the
> WRF Domain 1, then read out the data and make the scatter plots. However, my
> scipt is extremely slow: still running after two nights and one day. I have
> two do loops in my script and those are where things really slow down. I
> attached my script (named precip_hourly_scatter.ncl) to this email. I am
> wondering if you have any suggestions on how to speed up the execution of
> this script. Thank you.
>
> Best of the Holidays,
> Yongxin
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Dec 30 11:18:46 2009

This archive was generated by hypermail 2.1.8 : Tue Jan 05 2010 - 11:04:11 MST