Open VincentVerelst opened 4 months ago
@GriffinBabe for now I assigned this to you but this may need to change. If you can give this a thought that would be great.
I would extend the logic of the parameters we created for the CropLand workflow
https://github.com/WorldCereal/worldcereal-classification/blob/main/src/worldcereal/job.py#L59
Here we have classes CropLandParameters
and CropTypeParameters
, we could define an additional class WorldCerealInputParameters
or similar that will also use pydantic
for type consistency/checking
Then all the parameter objects that use inputs (CropLandParameters
, CropTypeParameters
) would have a field instance of that class.
@kvantricht , you think this is still needed?
would be nice to have an additional optional argument "settings" for the worldcereal_preprocessed_inputs_gfmap function, specifying: