-
Notifications
You must be signed in to change notification settings - Fork 10
Description
Is your feature request related to a problem? Please describe.
I've downloaded and cropped files in another workflow. Now I want to open this file piping it through gpm-api machinery. I'm trying
ds = gpm.open_granule_dataset(myfile, scan_mode="FS")but this doesn't work, as the checks on filename and more are failing for obvious reasons (filename doesn't include any meaningful information).
Describe the solution you'd like
I`d like gpm-api to be able to load arbitrary named files at arbitrary locations and detect the information by accessing the files metadata and acquire all contents into a Dataset/DataTree.
Describe alternatives you've considered
I've locally patched open_granule_dataset to take scan_mode and product as arguments and I'm preventing running the checks in those cases. But that seems a solution at the wrong place.
Additional context
This would enable gpm-api to be used more versatile by accessing arbitrary data, which still has to conform to the standards.