Re: plotting correct depth/lat - not points

From: Michael Hemming <michael.hemming_at_nyahnyahspammersnyahnyah>
Date: Mon May 26 2014 - 07:19:24 MDT

*I printed the variable:*
/
//Number of global attributes: 2//
//Number of Dimension: 3//
//Number of variables: 4/

*res looks like:*

/res = True//
//res@tiMainString = "Sea water potential temperature
(Deg C) with depth"//
////
//res@gsnSpreadColors = True//
//res@cnFillOn = True//
//res@cnLinesOn = False//
//res@trYReverse = True/

thanks,
Michael

On 26/05/2014 14:34, Dennis Shea wrote:
> ferret must be getting information from somewhere.
> There is too little information in your post to
> provide an answer.
>
> ---
>
> What meta data is associated with the variable 'a' ?
>
> printVarSummary(a)
>
> What does 'res' look like?
>
> ---
>
>
> On 5/26/14, 4:30 AM, Michael Hemming wrote:
>> Hey everyone,
>>
>> I have a netcdf file that looks like this:
>>
>> AMOC: j x k = 180 x 21 = lat x depth (curvilinear grid)
>>
>> I want to create a contour plot that shows AMOC values with depth,
>> however, when I try to do this, it plots lat as 1:180 and depth as 1:21.
>> When using Ferret, I get the correct lat and depth values automatically
>> shown.
>>
>> So my question is: how can I make ncl do what ferret does?
>>
>> after loading in the data and assigning the variable etc... I use:
>>
>>
>> /wks = gsn_open_wks("x11", "AMOC_plot")//
>> //gsn_define_colormap(wks,"B1WhRe")//
>> ////
>> //plot = gsn_csm_contour(wks,a,res)/
>>
>>
>>
>> thanks,
>> Michael
>>
>>
>>
>>
>> _______________________________________________
>> 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 Mon May 26 07:21:32 2014

This archive was generated by hypermail 2.1.8 : Tue May 27 2014 - 15:45:08 MDT