eurec4a / how_to_eurec4a

Code examples to get you started with EUREC⁴A data.
https://howto.eurec4a.eu
MIT License
6 stars 20 forks source link

updated dropsonde code to latest JOANNE version #69

Closed d70-t closed 2 years ago

d70-t commented 2 years ago

The JOANNE dataset received an update which changed the sonde dimension from sounding to sonde_id and removed the PW variable. This made several changes throughout the book necessary.

d70-t commented 2 years ago

The build fails because sonde_id and platform_id are being read as bytestring objects when opened via OPeNDAP, which would require .decode("utf-8"). However, when the datasets are opened via zarr (as it was the case before), the string are read in as already decoded strings. Doing the decoding manually creates a bit of a mess, especially when done conditionally. That's why I'm still hesitant to to the "simple fix".

d70-t commented 2 years ago

Due to the merge of eurec4a/eurec4a-intake#80, the updated dropsonde code now does work. The checks should pass after eurec4a/eurec4a-intake#81 is merged.

d70-t commented 2 years ago

Building the book now fails because of eurec4a/eurec4a-intake#81 not yet being resolved. Otherwise, we should now be back at a working state 😄