Re: rcm2points_Wrap

From: Gerry Creager <gerry.creager_at_nyahnyahspammersnyahnyah>
Date: Fri Apr 22 2011 - 07:40:06 MDT

Mary Haley wrote:
> 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

I got diverted by another "urgent" project, but I'll try to get the code
back out today and see where I stand. Thanks for looking and pointing
out a couple of obvious problems.

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
Received on Fri Apr 22 07:40:12 2011

This archive was generated by hypermail 2.1.8 : Tue May 03 2011 - 14:47:35 MDT