[gradsusr] PYGRADS problem with PDEF

Davide Sacchetti davide.sacchetti at arpal.gov.it
Thu Aug 2 06:53:34 EDT 2012


Dears,
We noticed some errors using pygrads with ctl files including pdef
directives. Our grid is rotated, we used either pdef bilin or pdef 
rotllr, but errors on grid.meta in ganum._exp2d() are the same
(exception raised on line 234 of ganum.py)

It might be that there are some problems in parsing the first 20 values
from ipc_save, or are we doing anything wrong?

Using debug at line 224:
        (Pdb) grid.meta
        array([  1.84689701e+25,   1.57883589e-19,   7.77242201e+31,
                 7.14408185e+31,   4.10594102e+04,   1.93472401e-19,
                 7.21432390e+22,   1.15785712e+27,   7.22507008e+28,
                 2.44565409e+20,   1.12586784e+24,   2.72450326e+20,
                -2.86196307e-23,   9.03173995e-39,   0.00000000e+00,
                 5.83155401e-39,   6.17844824e-39,   6.16194655e-39,
                 5.83155401e-39,  -1.19687500e+01], dtype=float32)
        

configuration
grads:   v2.0.1.oga.1
python:  2.7.3
pygrads: 1.1.b5
numpy:   1.6.2

thank you very much for your help
Davide


-- 
--> Attenzione cambio indirizzo: davide.sacchetti at arpal.gov.it
--
Davide Sacchetti
Centro Funzionale Meteo Idrologico di Protezione Civile della Regione Liguria
ARPAL Unità Tecnica Complessa di livello Regionale
V.le Brigare Partigiane 2 16121 Genova (I)
tel: +39 010 6437535                    fax: +39 010 6437520
mail: davide.sacchetti at arpal.gov.it     web: www.meteoliguria.it





More information about the gradsusr mailing list