-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Description
With the recent code restructuring, FORCING classes no longer receive the forcing data path specified in the run file.
Instead, FORCING classes have hardcoded forcing paths.
In the new PPROVIDER class, all classes are instantiated the same, and therefore we cannot pass specific parameters to some instantiated classes.
Possible solutions:
- Pass all paths (
result_pathandforcing_path) to all instantiated classes, even those who don't need them - Pass the
PPROVIDERinstance tonew_classduring initialization, and let the class itself grab additional parameters it might need from thePPROVIDERinstance - Require user to manually set the
forcing_pathafter instantiation. In practice this would be handled by theTILEclass right after retreiving theFORCINGinstance from thePPROVIDER
Which would be the better way?
Other suggestions?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels