Re: rcm2points_Wrap

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Tue Apr 19 2011 - 17:40:02 MDT

On Apr 15, 2011, at 7:16 AM, Gerald Creager wrote:

> I've a curvilinear grid from the Princeton Ocean Model I'm trying to
> interpolate to a rectilinear grid using rcm2points_Wrap.
> . .
> I'm doing the following:
> fnameModel6HC =
> "/home/gerry/GOMEX-PPP/data/GOMEX-PPP/6_NGOM_Patchen/GOMHD-2011.3.100.GOMEX-PPP.nc"
> modelFile6HC=addfile(fnameModel6HC,"r")
>
> model6DepthHC = modelFile6HC->depth
> model6LonHC = modelFile6HC->lon
> model6LatHC = modelFile6HC->lat
> model6WaterTempHC = modelFile6HC->temp(:,:,:,:)
> model6TimeHC = modelFile6HC->time
> waterTempHC=rcm2points_Wrap(model6LatHC,model6LonHC,model6WaterTempHC,model6LatHC1d,
> model6LonHC1d,0)
>
> And I'm getting: fatal:Variable (model6LatHC2d) is undefined

Hi Gerry,

It looks like this question hasn't been responded to yet? My apologies if it has.

I don't see where "model6LatHC2d" is defined. I don't even see where it's being used to cause the fatal warning. Please check your variable names closely. It's probably a simple typo.
Also, I don't see where you've defined model6LatHC1d or model6LonHC1d, but maybe I'm not seeing the whole code?

--Mary

>
> Do I need to declare model6LatHC1d
>
> Thanks, Gerry
> --
> Gerry Creager -- gerry.creager@tamu.edu
> Texas Mesonet -- AATLT, Texas A&M University
> Cell: 979.229.5301 Office: 979.458.4020 FAX: 979.862.3983
> Office: 1700 Research Parkway Ste 160, TAMU, College Station, TX 77843
> _______________________________________________
> 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 Apr 20 09:43:00 2011

This archive was generated by hypermail 2.1.8 : Tue Apr 19 2011 - 18:32:02 MDT