Skip to content

250-hPa Hemispheric Map using Python - Worked in August, not now....sigh #2783

Answered by dopplershift
fmarsik asked this question in Q&A
Discussion options

You must be logged in to vote

Sorry you've run into this problem. What I think happened is that in August we upgraded our THREDDS data server to its next major version, v5. That subtly changed some behavior this example was relying on. The problematic lines are:

gfsdata_hght.lonlat_box(0, 360, 0, 90)

and

gfsdata_wind.lonlat_box(0, 360, 0, 90)

On the new version of the server, 0 and 360 seem to be treated the same, so the request ends up getting a single longitude line of data. The quick fix is to not quite request all the way to 360, like:

gfsdata_hght.lonlat_box(0, 359.9, 0, 90)

and

gfsdata_wind.lonlat_box(0, 359.9, 0, 90)

With that change made, I get the expected image:

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@dopplershift
Comment options

@fmarsik
Comment options

Answer selected by dopplershift
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
Area: Examples Affects examples Area: IO Pertains to reading data
2 participants