intake-esm
intake-esm copied to clipboard
Add optional esmvalcore dependency & `to_esmvalcore` method
Changes
- [x] Add optional imports following the way polars does it to keep overhead to a minimum.
- [x] Add esmvalcore to list of optional imports.
- [x] Add
to_esmvalcoremethod toesm_datastoreclass - [x] Keep track of all searches made on a datastore
- [ ] Tests for
to_esmvalcoremethod (will require some heavy mocking)
Related issue number
https://github.com/ESMValGroup/ESMValCore/pull/2690
Closes #715
Checklist
- [ ] Unit tests for the changes exist
- [ ] Tests pass on CI
- [ ] Documentation reflects the changes where applicable