eco4cast / EFIstandards

Exploring possible metadata and data formatting standards for comparing Ecological Forecasts
BSD 2-Clause "Simplified" License
14 stars 8 forks source link

Complete EML parts of Python logistic example #26

Closed ashiklom closed 1 year ago

ashiklom commented 3 years ago

In the absence of EML utilities, the Python version relies a lot on verbose and tedious JSON. It's annoying, but not insane, so I think it's good enough for now, but if we have a lot of Python users, we should consider ways to make their lives easier in the future.

~More importantly, neither the Python, nor the original R versions of these vignettes currently build without disabling a few chunks. Specifically, the eml_validate and write_eml functions both fail with the following error:~

Error in store_val() : Invalid jsonld input

~For this PR, I temporarily set these blocks to eval = FALSE, but we should figure out what's going on. Importantly, this failed even before any of my Python additions (I checked by checking out an older commit). Not sure if this is specific to my machine or not.~

EDIT: Testing to see if this passes on GH Actions. If so, it might be something specific to my machine.