Trouble with cross_section
and 1D lat/lon
#2033
Unanswered
dopplershift
asked this question in
Q&A
Replies: 1 comment 6 replies
-
The issue I see with these data are the Luckily, there are a couple easy fixes! I'd consider qt = xr.open_dataset('ta.all.ERAINT_MAM2018_region.nc').metpy.parse_cf().squeeze().set_coords('time_bnds')
qh = xr.open_dataset('q.all.ERAINT_MAM2018_region.nc').metpy.parse_cf().squeeze().set_coords('time_bnds')
start1 = (-4, 22)
end2 = (4, 42)
crosst = cross_section(qt, start1, end2)
crossq = cross_section(qh, start1, end2) Alternatively, you could just drop |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm not quite sure why this doesn't work:
I'm getting:
Here are the data files.
Thoughts @jthielen? (cc: @kimutaijoy)
Beta Was this translation helpful? Give feedback.
All reactions