Re: plotting CCSM ice data on the native grid...

From: Bob Tomas <tomas_at_nyahnyahspammersnyahnyah>
Date: Thu, 9 Mar 2006 12:10:11 -0700 (MST)

I found the problem.

I looked in the code at the line numbers that NCL output.

There were some references to "if the plot is scaled"

I looked in my script and had

        res@gsnScale = True

I commented this out and the error disappeared.

Voila!

Bob

-------------------------------------------------------------
Robert A. Tomas
National Center for Atmospheric Research
Climate and Global Dynamics Division - Paleoclimatology
1850 Table Mesa Drive
Boulder, CO 80305-3000
e-mail: tomas_at_ucar.edu tel: 303-497-1342 fax: 303-497-1348

On Thu, 9 Mar 2006, Bob Tomas wrote:

> Hello,
>
> I *think* that it is possible to plot CCSM ice data on the native grid
> but what I am doing results in an error message I cannot interpret.
>
> Briefly,
>
> 1) cgd_machine% setenv NCL_POP_REMAP /fs/cgd/csm/mapping/maps/validated
> 2) read in tlat, tlon (2-d latitude and longitude arrays)
> 3) attach them as attributes to the data, data_at_lat2d = tlat, data_at_lon2d = tlon
> 4) plot using gsn_csm_contour_map
>
>
> And the result is:
>
> warning:tmYLMinorLengthF is not a valid resource in p_reg_snowc_onto_snowcovts_contour.PlotManager at this time
> warning:NhlGetValues:Error retrieving tmYLMinorLengthF
> fatal:Execute: Error occurred at or near line 1814 in file $NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl
>
> fatal:Execute: Error occurred at or near line 7016 in file $NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl
>
> fatal:Execute: Error occurred at or near line 4748 in file $NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl
>
> fatal:Execute: Error occurred at or near line 8059 in file $NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl
>
> fatal:Execute: Error occurred at or near line 259 in file p_reg_seaice_onto_snowcovts.ncl
>
> Line 259 is the line with the plotting command, gsn_csm_contour_map. The warnings are kind of interesting
> because I don't ever set tmYLMinorLengthF in my script.
>
> Anyone have any suggestions on debugging this?
>
> Bob
>
>
> --
> -------------------------------------------------------------
> Robert A. Tomas
> National Center for Atmospheric Research
> Climate and Global Dynamics Division - Paleoclimatology
> 1850 Table Mesa Drive
> Boulder, CO 80305-3000
> e-mail: tomas_at_ucar.edu tel: 303-497-1342 fax: 303-497-1348
> _______________________________________________
> 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 Mar 09 2006 - 12:10:11 MST

This archive was generated by hypermail 2.2.0 : Thu Mar 09 2006 - 17:28:09 MST