-
Notifications
You must be signed in to change notification settings - Fork 10
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
Splitting a NetCDF input file into multiple files for calibration #11
Comments
Dear @Nooshdokht-Bayatafshary, thank you for reaching out and for your willingness to collaborate! We are pleased to let you know that OS LISFLOOD is capable of reading meteorological forcings split into multiple files (e.g. yearly chuncks). To use this functionality, it is enough to add the symbol '' after the file name (e.g. ET0_). We welcome suggestions for improvement, and we would be pleased to work with you! Kind regards, |
Dear Stefania and the OS LISFLOOD Developers Team, Thank you so much for your prompt and informative response! I'm thrilled to hear that OS LISFLOOD supports reading meteorological forcings split into multiple files. I'm also delighted to learn about the upcoming documentation update that will include this functionality. Your team's responsiveness is truly commendable. The addition of the symbol after the file name for this functionality is a valuable insight, and I appreciate your clarification. To ensure I've grasped the naming convention correctly, for a seven-year setup, I should label the files as follows: ET0_1.nc, ET0_2.nc, ..., ET0_7.nc, correct? Additionally, could you confirm if any specific setting changes in the configuration files are necessary to implement this functionality, or will the default settings suffice? Once again, thank you for your support and openness to collaboration. I look forward to exploring the capabilities of OS LISFLOOD further. Kind regards, |
Dear @Nooshdokht-Bayatafshary, you can name the files using the relevant year, e.g. ET0_2023.nc. We look forward to the next exchange, |
Dear @StefaniaGrimaldi, I am trying to run the calibration code (CAL_7A_CALIBRATION.py), but I encountered an error when opening the forcing file. As previously mentioned, LISFLOOD can accept inputs as split files, and I am attempting to use this option. I have set the following options in my XML file:
However, when I run the CAL_7A_CALIBRATION script, I get the following error: As you can see in the attached picture, I have provided the files with the appropriate names. Could you please provide guidance on how to resolve this issue? I have attached my template XML file for your reference (settings_calibration.zip). Thank you for your assistance and your support. |
Dear @Nooshdokht-Bayatafshary, could you please edit the forcing file names in your settings xml as follows? This change is expected to solve your problem. Please do not hesitate to let us know whether you encounter other issues, |
Dear developers,
I am currently working on calibrating a Lisflood model using 6-hourly data spanning 7 years at a relatively fine resolution. The process involves generating meteorological data as a unified NetCDF file, which incurs a significant computational cost (more than 370 GB of RAM, and about 1 TB of storage are required for each parameter).
I am wondering if it's possible to enhance the calibration mode to accept data in a more manageable format. Specifically, instead of providing a single 7-year precipitation file, would it be feasible to submit 7 separate one-year precipitation files for the calibration input?
Your guidance on this matter would be greatly appreciated, and I am open to discussing potential solutions or workarounds to optimize the calibration process.
Thank you for your time and consideration.
Best regards,
Nooshdokht
The text was updated successfully, but these errors were encountered: