-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Earth System Data Cube (ESDC) cmorizer #2799
Conversation
…nsolidated keyword
The implementation is ready and can be reviewed already. There are a few details missing that don't affect the code: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for starting this work @bsolino! I did some testing of the CMORizer without checking the code in depth as you wanted some early feedback on this PR. The CMORizer seems to work fine, including reading data from the cloud store. I think the handling of metadata is not fully compete, see suggestion. Also, you may want to check with the provider which original metadata to keep.
The main issue I see is that this cmorizer only starts looking for cloud data if a ~/RAWOBS/Tier2/ESDC
directory already exists (even an empty directory is enough). Otherwise, the Tool crashes because no data are found. I'm not sure this is something to address in this cmorizer script or more broadly in cmorizer.py
.
Co-authored-by: Rémi Kazeroni <[email protected]>
Good catch! I've done some testing, but there is nothing I can do from within the cmorizer. The detection happens in the function def _get_dataset_tier(self, dataset) from cmorizer.py. The only solution I can think to that issue is to have an entirely different detection system, perhaps from the documentation data ( |
Co-authored-by: Rémi Kazeroni <[email protected]>
…ol into esdc-cmorizer-pilot
Co-authored-by: Rémi Kazeroni <[email protected]>
Co-authored-by: Rémi Kazeroni <[email protected]>
…ol into esdc-cmorizer-pilot
Co-authored-by: Rémi Kazeroni <[email protected]>
Co-authored-by: Rémi Kazeroni <[email protected]>
…ol into esdc-cmorizer-pilot
Co-authored-by: Rémi Kazeroni <[email protected]>
Co-authored-by: Rémi Kazeroni <[email protected]>
…ol into esdc-cmorizer-pilot
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the changes @bsolino! Everything looks good to me and works as expected 👍
@valeriupredoi, could you please take a look at this PR whenever you have time for that? And maybe advise @bsolino on how the best way to add dependencies to the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just a couple optional wiggles from me, looking good, good work, guys! I'll have a look at the environment files now 👍
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just temp holding this for the unused aiohttp
dependency
Co-authored-by: Valeriu Predoi <[email protected]>
It is not used directly by us (neither is
|
aha gotcha! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all nice and green and am happy too, awesome work @bsolino 🍺 Cheers to @remi-kazeroni for testing as well!
Description
Before you get started
Checklist
It is the responsibility of the author to make sure the pull request is ready to review. The icons indicate whether the item will be subject to the 🛠 Technical or 🧪 Scientific review.
New or updated data reformatting script
To help with the number of pull requests: