Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors with Gallery Examples #57

Open
wreed1989 opened this issue Apr 16, 2024 · 0 comments
Open

Errors with Gallery Examples #57

wreed1989 opened this issue Apr 16, 2024 · 0 comments

Comments

@wreed1989
Copy link

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..wrapped(*args, **kwargs)
1283 pass # throw Exception
1285 val = lib.p_result_as_value()
-> 1286 return value_from_metview(val)

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant