jbusecke / pangeo-forge-esgf

Using queries to the ESGF API to generate urls and keyword arguments for receipe generation in pangeo-forge
Apache License 2.0
6 stars 4 forks source link

Raise error for badly formatted iid #50

Closed jbusecke closed 2 months ago

jbusecke commented 2 months ago

Just found a case over in https://github.com/leap-stc/cmip6-leap-feedstock/pull/170/commits/c4509c65704e0854dec83df22cc14ea692b186a2 where I forgot to add a dot in the iid. The error raised was a key error for version, which makes sense but is not very intuitive.

This PR implements tests+raisees an error that is easier to grok.