[ncl-talk] Problem with Pressure/Height vs latitude Plots

Dennis Shea shea at ucar.edu
Sat Aug 20 08:27:47 MDT 2016


Please look at the Applications

http://www.ncl.ucar.edu/Applications/

Under 'Datasets' , click 'SPARC, OZONE'

Look at the figures. The pressure axis extends higher than 0.01. Code is
at: sparc_2.ncl



On Fri, Aug 19, 2016 at 7:03 PM, Soumik Basu <sbasu at alaska.edu> wrote:

> Hello ncl-users,
>
> I am trying to plot a pressure vs latitude plot where the pressure goes
> 1000 hPa to 0.01 hPa. But if I try to plot anything above 1 hPa I am
> getting a set of following errors.
>
> warning:_NhlCreateSplineCoordApprox: Attempt to create spline
> approximation for Y axis failed: consider adjusting trYTensionF value
> warning:IrTransInitialize: error creating spline approximation for
> trYCoordPoints; defaulting to linear
> warning:LlSetValues: invalid range for Y Axis log mode; setting trYLog off
>
> Here is the resource part of my plot:
>
> ;************************************************************************
> ; Resources for the plot
> ;***********************************************************************
>
>   res                              = True
>
>   res at gsnDraw                      = False
>   res at gsnFrame                     = False
>   res at gsnMaximize                  = False
>   res at gsnSpreadColors              = True
>   res at gsnSpreadColors              = True                ; use full
> colormap
>
>   res at cnFillOn                     = True
>   res at cnLinesOn                    = False
>   res at cnLevelSelectionMode         = "ManualLevels"
>   res at cnMinLevelValF               = 180
>   res at cnMaxLevelValF               = 300
>   res at cnLevelSpacingF              = 2
>   res at cnInfoLabelOn                = False                     ; turn off
> cn info label
>   res at cnLineLabelsOn               = False
>   res at cnLineLabelFontHeightF       = 0.015
>
>   res at tmLabelAutoStride            = True
>   res at tmXTOn                       = False
>   res at tmYROn                       = True
>   res at tmXBLabelFontHeightF         = 0.030
>   res at tmYLLabelFontHeightF         = 0.030
>
>   res at trYTensionF                  = 0.5
>   res at trYLog                       = True
>
>   res at lbOrientation                = "horizontal"  ;vertical label bar
>   res at lbLabelBarOn                 = False
>   res at lbLabelAutoStride            = True
>
>
> I guess it is due to the irregular pressure axis but is there any way to
> solve it and make a plot properly? Thank you for any suggestions.
>
> Thanks,
> Soumik
> --
> --
> "Learn from yesterday, live for today, hope for tomorrow. The important
> thing is not to stop questioning." - Albert Einstein
>
> ************************************************************
> **************************************
> Dr. Soumik Basu
> Post Doctoral Fellow, International Arctic Research Center, UAF,
> Fairbanks, AK, USA
> Nanjing University of Information Science and Technology, Nanjing, China
> PhD in Atmospheric Sciences
> M.Sc. in Atmospheric Sciences
> Email: suvro05 at gmail.com
> website: http://soumikbasu.weebly.com/
>
> ************************************************************
> ***************************************
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20160820/e10bfb71/attachment.html 


More information about the ncl-talk mailing list