metview-python
metview-python copied to clipboard
Errors with Gallery Examples
Hello,
After getting Metview installed to run on Jupyter, I'm trying to test out some of the galleries but I'm running into an error when I run vertical cross section codes (see below):
Any idea what may be causing this? The code was downloaded directly from the Metview documentation located here: https://metview.readthedocs.io/en/latest/gen_files/gallery/cross_section_wind3d_height_ml_orog.html#gallery-cross-section-wind3d-height-ml-orog
I appreciate any help!
Exception Traceback (most recent call last) Cell In[2], line 93 87 w_scale_factor = 100 89 # compute cross sections in height (above sea level) for a fixed set 90 # of target levels (at least Metview version 5.16.0 is required). 91 92 # relative humidity ---> 93 xs_rh = mv.mcross_sect( 94 data=mv.merge(rh, z), 95 line=line, 96 level_selection_type="count", 97 level_count=level_count, 98 vertical_coordinates="user", 99 vertical_coordinate_param=129, 100 vertical_coordinate_extrapolate="on", 101 vertical_coordinate_extrapolate_mode="constant", 102 vertical_coordinate_extrapolate_fixed_sign="on", 103 top_level=top_level, 104 bottom_level=bottom_level, 105 ) 107 # ept 108 xs_ept = mv.mcross_sect( 109 data=mv.merge(ept, z), 110 line=line, (...) 118 bottom_level=bottom_level, 119 )
File /opt/anaconda3/envs/Meteorology/lib/python3.11/site-packages/metview/bindings.py:1286, in make.
File /opt/anaconda3/envs/Meteorology/lib/python3.11/site-packages/metview/bindings.py:1240, in value_from_metview(val) 1238 retval = vr.translate_return_val(val) 1239 if isinstance(retval, Exception): -> 1240 raise retval 1241 return retval
Exception: Metview error: Service XSection@1314 died before completing the request