Py- ART 2 BALTRAD

154 views
Skip to first unread message

Alfonso Ladino

unread,
Mar 3, 2017, 10:51:22 AM3/3/17
to Py-ART Users
Dear all,

I have been trying to use some functions from BALTRAD with Py-Art  but something seems to be wrong. I think that BALTRAD software is not connected to python. I already have installed Py-Art and BALTRAD on my machine.

This is a snipped of my code:

import pyart
import baltrad_pyart_bridge as bridge 
import _raveio

## You are using the Python ARM Radar Toolkit (Py-ART), an open source
## library for working with weather radar data. Py-ART is partly
## supported by the U.S. Department of Energy as part of the Atmospheric
## Radiation Measurement (ARM) Climate Research Facility, an Office of
## Science user facility.
##
## If you use this software to prepare a publication, please cite:
##
##     JJ Helmus and SM Collis, JORS 2016, doi: 10.5334/jors.119

---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-3-c64f62b799c8> in <module>()
      1 import pyart
----> 2 import baltrad_pyart_bridge as bridge  # routines to pass data from Py-ART and BALTRAD
      3 import _raveio   # BALTRAD's input/output module

ImportError: No module named baltrad_pyart_bridge

Any idea what is wrong?

Thanks in advance for your attention and time.

Best,

Alfonso

Jonathan Helmus

unread,
Mar 3, 2017, 11:01:52 AM3/3/17
to pyart...@googlegroups.com
Alfonso,

    Is the baltrad_pyart_bridge module available?  It is not included with Py-ART or BALTRAD, but must be setup separately.  The module can be found in the pyart2baltrad repository [1].  Please note that this module has not been updated for quite some time and has no official support.

Cheers,

    - Jonathan Helmus


[1] https://github.com/jjhelmus/pyart2baltrad
--
You received this message because you are subscribed to the Google Groups "Py-ART Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyart-users...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Alfonso Ladino

unread,
Mar 3, 2017, 11:39:31 AM3/3/17
to Py-ART Users
Dear Dr Jonathan,

I am trying to setup pyart2baltrad module but I might be doing something wrong. I am running baltrad_pyart_bridge.py from terminal and  this is the outout:


## You are using the Python ARM Radar Toolkit (Py-ART), an open source
## library for working with weather radar data. Py-ART is partly
## supported by the U.S. Department of Energy as part of the Atmospheric
## Radiation Measurement (ARM) Climate Research Facility, an Office of
## Science user facility.
##
## If you use this software to prepare a publication, please cite:
##
##     JJ Helmus and SM Collis, JORS 2016, doi: 10.5334/jors.119

Traceback (most recent call last):
  File "baltrad_pyart_bridge.py", line 47, in <module>
    raise ImportError("Can't find RAVE. Please install it.")
ImportError: Can't find RAVE. Please install it.

I think it is not conecting to BALTRAD software. Any suggestions?

Thanks again.

Best,

Alfonso.

Jonathan Helmus

unread,
Mar 3, 2017, 11:54:58 AM3/3/17
to pyart...@googlegroups.com
Alfonso,

    The baltrad_pyart_bridge needs _rave, _raveio, _projection, _polarvolume, _polarscan, _polarscanparam and Proj installed [1].  Are all of those installed and available in the Python interpreter you are running the script from.  Trying out those imports one-by-one should narrow down what is missing. 

Also, note that the that module is ~3 years old any may not working with the current BALTRAD system.

Cheers,

    - Jonathan Helmus


[1] https://github.com/jjhelmus/pyart2baltrad/blob/master/baltrad_pyart_bridge.py#L39-L45
--
Reply all
Reply to author
Forward
0 new messages