You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dear Destination Earth / Earth Hub team,
I was testing the ERA-5 zarr Greece flood example. Great notebook.
I am missing one feature though: get the current number of credits that have been used so far.
This would be really helpful for estimating and planning computations.
In the costing.py functions, would it be possible to add a function get_credits(PAT=<presonal_access_token>)?
And if you can estimate the credits that are going to be used for a computation, could they be added to estimate_download_size() or make a function estimate_credits().
Thanks for the great work, all the best!
The text was updated successfully, but these errors were encountered:
Hi @przell, the get_credits(PAT=<presonal_access_token>) functionality is something that we certainly want to implement along our roadmap. Its just not there yet. For the moment, limited to the Earth Data Hub service, you can review your remaining quota on https://earthdatahub.destine.eu/account-settings.
As for the credits consumption notice that the estimate_download_size() function also returns a estimated_needed_chunks value. This is is roughly the number of credits you will consume to compute() the selection. There are technical details for which the two numbers are not exactly the same, but the difference is absolutely negligible compared to the the 500K initial quota.
Hi @nicolamasotti, thanks for the quick reply!
The workaround with the number of chunks should be fine for now. Thanks for this hint!
Great to hear that the get_credits(PAT=<presonal_access_token>) is under construction! Looking forward to using it when ready.
Thanks! All the best!
Dear Destination Earth / Earth Hub team,
I was testing the ERA-5 zarr Greece flood example. Great notebook.
I am missing one feature though: get the current number of credits that have been used so far.
This would be really helpful for estimating and planning computations.
costing.py
functions, would it be possible to add a functionget_credits(PAT=<presonal_access_token>)
?estimate_download_size()
or make a functionestimate_credits()
.Thanks for the great work, all the best!
The text was updated successfully, but these errors were encountered: