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

Soumik Basu sbasu at alaska.edu
Fri Aug 19 19:03:34 MDT 2016


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/

***************************************************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20160819/37570d5e/attachment.html 


More information about the ncl-talk mailing list