-
-
Notifications
You must be signed in to change notification settings - Fork 259
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
Memory Error for FES2022 #565
Comments
Hello, See the script in #559, it suggests how to trim the loading area. The reason you are running into the memory error is due to it loading the global model, if you use the script, in the other issue, adjusting the paths to reflect your setup, it should resolve the memory error. Just ensure you also write a new fes2022.yml with the updated paths to your new trimmed files. |
exactly try that script that @phillipjws is developing, it should solve the RAM allocation error |
Thank you @phillipjws and @kvos, I tried with your amazing script but now I have an Index Error: May I also know what exact geojson file should be used there? Is it sitename_output_lines.geojson? |
@AryanAdhau You should be using a geojson containing the area you're interested in. This can be quite large and I've found the easiest way to make mine is with geojson.io. The area I'm interested in is the coast of Canada, and so I made a polygon containing the entire country and anywhere that I may want to use CoastSat. |
Thank you so much @phillipjws! This works. |
Hii @phillipjws and @kvos , I was trying to obtain the tidal level time series for the date range 01/01/2024 to 01/12/2024. The script performs computation but the plot is empty. Is it something wrong with my pyfes or handlers config because the data exists but does not show in the plot. I also tried to check output values with the result was like this: |
@AryanAdhau My guess is that the point is too close to land, and so for interpolation the model is using a point on land which would explain why it isn't getting any results. Use coordinates for the |
Thanks, @phillipjws, this is working. The problem was with the longitude range. |
Hii,
I followed all the steps to setup the FES2022. However, I am getting this error while checking in the prompt and also in the CoastSat script. Sometimes it also shows 'handlers' not defined. Please help with this. Thanks.
MemoryError: Unable to allocate 223. MiB for an array with shape (5401, 10801) and data type float32.
The text was updated successfully, but these errors were encountered: