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

Separation of order and domain of HRU/GRU in attribute file from forcing file(s) #558

Open
ShervanGharari opened this issue Feb 12, 2024 · 3 comments

Comments

@ShervanGharari
Copy link

Separation of attribute file and forcing file orders and domain

  • Description of feature: currently the order of HRUs in the attribute file and (remapped) forcing file(s) should be the same (to the level of my understanding from SUMMA). This adds the burden to the model-specific preparation workflow to subset, and reorder, both forcing file(s) and attribute files. It would be desirable to have internal sorting mechanisms that assure the simulation for overlapping set of the HRU IDs from the attribute file and forcing file(s). This will allow a subset of a domain in the form of an attribute file to be used with existing prepared forcing file(s) that may cover larger domains. Also allows a rager attribute domain to be simulated for a smaller forcing domain (or domain where forcing is not available from a product for example). The simulation files include only the overlapping HRUs/GRUs from attribute and forcing files.
  • Will the proposed feature be backward compatible? Yes
  • Will the proposed feature change the science results of SUMMA? No, but add flexibility in setting up future setups.
@andywood
Copy link
Collaborator

andywood commented Feb 13, 2024 via email

@ShervanGharari
Copy link
Author

Hi Andy, Thank you for the reply.
Yes, the capability to reorder, subset is there so we wont have issues.
Maybe a bit of background. We are simulating MESH and SUMMA. Both need some massaging of the forcing data. If the model-specific tasks are reduced to a minimum for each model, we would be able to use the same files for both models. That is the best outcome. This needs each model also to be insensitive to the order of input as well. Currently, we have to duplicate files or find a compromising denominator that services both models (without going into details it is very very suboptimal). This might get more complicated if a third model is explored.
That is the basis of the suggestion here, to make sure forcing and attribute file with different orders can still work.
In additional, a case is desirable in whcih, we can subset the domain without really subsetting the forcing and only by submitting the attribute file. subsetting attribute files are much easier while the setup can point at larger prepared forcing files.
From what I know about mizuRoute, sorting is always done when the forcings are read into mizuRoute based on the index in augmented ntopo that mizuRoute internally creates. For checking the computational need, we can maybe look into mizuRoute first(?)
Thank you Andy again.

@andywood
Copy link
Collaborator

andywood commented Feb 16, 2024 via email

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