landsea mask

From: Alexander Semenov <asemenov_at_nyahnyahspammersnyahnyah>
Date: Wed Mar 21 2012 - 16:43:25 MDT

Hello,

I'm using landsea mask. Yet I ran into an error:

fatal:Undefined identifier: (landsea_mask) is undefined, can't continue
fatal:Execute: Error occurred at or near line 166 in file double_sst.ncl

That's how it is in my script: I have a variable "I_avg" - a function of
lat and lon:

a = addfile("$NCARG_ROOT/lib/ncarg/data/cdf/landsea.nc","r")
  lsm_I_avg = landsea_mask(a->LSMASK,I_avg&lat,I_avg&lon) ; read
in land sea mask, and pass it and
  I_avg = mask(I_avg,lsm_I_avg.eq.0,False)

-- 
regards
*******************************************************
*Alexander Semenov*
*
*
PhD Student - Research Assistant
International Arctic Research Center
Department of atmospheric sciences
University of Alaska Fairbanks
930 Koyukuk dr, 408c3
Fairbanks, AK, USA, 99775
work phone +19074742672

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Mar 21 16:43:34 2012

This archive was generated by hypermail 2.1.8 : Tue Mar 27 2012 - 08:50:24 MDT