Open-EO / openeo-processes-python

A Python representation of (most) openEO processes
Apache License 2.0
11 stars 4 forks source link

Load/save vector cube #113

Closed LukeWeidenwalker closed 2 years ago

LukeWeidenwalker commented 2 years ago

Closes #102

ValentinaHutter commented 2 years ago

For save_vector_cube the output_filepath already holds the job_id and we just need to append '.json'. This will create a file that is call like the job_id.json. For load_vector_cube we get the input filepath, which does not include the job_id. As the job_id is in the job_id parameter, I append it to the input_filepath and then append '.json' Same needs to be done for save_model, load_model.