Skip to content
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

Add running jobs in Planetary Computer #50

Open
jacobbieker opened this issue Jan 15, 2024 · 4 comments
Open

Add running jobs in Planetary Computer #50

jacobbieker opened this issue Jan 15, 2024 · 4 comments

Comments

@jacobbieker
Copy link
Member

We would like to run some of our jobs with public data in Planetary Computer, to help with the bandwidth issues with have on Leonardo.

Detailed Description

I've used the kbatch service to submit jobs to Planetary Computer quite successfully, command line args can be passed, as well as code locations. This should allow us to do whatever we want in the VM.

Each VM seems to have: 64GB RAM, 150ish GB storage
We can pass in credentials, including to GCP, to write directly there if need be.

Sometimes, processing seems to fail for an unknown reason, for example it processes HILAM surface NetCDFs fine, but not the pressure ones. But overall, that should just be some debugging and then it will be good to go.

Context

It offloads processing to the cloud, freeing up bandwidth on Leonardo for batch creation or getting of data we can't make public.

Possible Implementation

I have a lot of examples in my planetary-datasets repo

@jacobbieker jacobbieker added the enhancement New feature or request label Jan 15, 2024
@jacobbieker
Copy link
Member Author

@peterdudfield peterdudfield removed the enhancement New feature or request label Jan 15, 2024
@peterdudfield
Copy link
Contributor

Could you point to one specific file where this was done for the Satellite date? Perhaps that is to come?

@jacobbieker
Copy link
Member Author

Sure, here is a config file:
https://github.com/jacobbieker/planetary-datasets/blob/main/pc/eumetsat-0deg.yaml

And to run it, after updating the HF token, EUMETSAT API key and secret:

kbatch job submit -f pc/eumetsat-0deg.yaml

@peterdudfield
Copy link
Contributor

Nice thanks @jacobbieker

@peterdudfield peterdudfield mentioned this issue Jan 16, 2024
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants