[pyngl-talk] SkewT for Highlands

Luis Blacutt lblacutt at fiumsa.edu.bo
Tue May 12 13:51:25 MDT 2020


Dear pyngl users

I'm trying to modify the skewT3.py example with data from an airport that
is located at 660 hPa. I tried to make it run by filling the missing lower
levels with NaN and I get the following error message

Traceback (most recent call last):
  File
"/home/casa/miniconda3/pkgs/pyngl-1.6.1-py38h174697a_2/info/test/examples/skewt3.py",
line 67, in <module>
    skewt_data = Ngl.skewt_plt(wks, skewt_bkgd, p, tc, tdc, z, \
  File
"/home/casa/miniconda3/envs/pyn_env/lib/python3.8/site-packages/ngl/__init__.py",
line 6640, in skewt_plt
    plcl, tlcl = _dptlclskewt(p[nP],tc[nP],tdc[nP])
IndexError: index 0 is out of bounds for axis 0 with size 0

Has anyone faced similar problem?
Best
L
-- 
**************************************************
Luis A. Blacutt PhD.
Laboratorio de Física de la Atmósfera
Edificio Facultativo piso 2
Campus Universitario Cota Cota calle 28
Teléfono (591) 2 2799155
Casilla 8635
Instituto de Investigaciones Físicas
Universidad Mayor de San Andrés
Correo electrónico alterno luis.blacutt at chacaltaya.edu.bo
http://pensandoaprofundidad.blogspot.com/
**************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/pyngl-talk/attachments/20200512/5e4c2a71/attachment.html>


More information about the pyngl-talk mailing list