Re: Getting 10m Winds out of NARR data

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Thu, 30 Aug 2007 21:36:27 -0600

Hi all,

I responded to Don off-line, and should have responded to the group.

I suggested he try coordinate subscripting:

     nU10 = f->U_GRD_221_HTGL({10},:,:)
     nV10 = f->V_GRD_221_HTGL({10},:,:)

This will only work if you have coordinate arrays attached to the
variables on the file.
He said this worked for him.

--Mary

On Aug 29, 2007, at 7:35 PM, Don Morton wrote:

> Hi, I "think" after a couple of hours of figuring,
> trying, etc., that I've succeeded in extracting the 10m
> winds out of a NARR flx file. However, I can't find
> anything that definitively tells me that what I'm doing is
> correct, so I'm wondering if there's somebody out there
> who is able to confirm whether I'm correct. I've had
> to "intelligently guess" at this based on a number of
> different sources, but I don't fully trust my intelligence.
>
> The source of these NARR files is
>
> http://dss.ucar.edu/pub/narr/
>
> My "guess" is that in the following, using a first index
> of "0" gives me 10m winds, and a first index of
> "1" would give me 30m winds. Does anybody know
> for sure?
>
> f = addfile(NARR_FILE,"r")
> nU10 = f->U_GRD_221_HTGL(0,:,:)
> nV10 = f->V_GRD_221_HTGL(0,:,:)
>
>
> Thanks,
>
> Don
> --
> Arctic Region Supercomputing Center
> http://weather.arsc.edu/
> _______________________________________________
> ncl-talk mailing list
> ncl-talk_at_ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Aug 30 2007 - 21:36:27 MDT

This archive was generated by hypermail 2.2.0 : Sat Sep 01 2007 - 07:29:26 MDT