-
Notifications
You must be signed in to change notification settings - Fork 3
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
fix_ocean_restarts.py #4
Comments
Hi Julia, did you change 75 to 50 in both places? |
what was the output to the terminal? Did you get anything saying "Processing var"? |
I changed it in both places! And the output said "Processing file.." and then "Processing var..", and went through every file with no errors, overwriting them as well. But after its done, when I open the files they remain as the template! Thanks Andrew! |
can you show example screenshots? |
Sorry for the late response Andrew, I was on leave. This is the output to the terminal:
Continues doing all files and exits without error. |
Hi!
I tried to adapt this to the 0.25 deg, simply changing the dimensions in the copy_data function to the 0.25 dimensions. I ran it like this:
./fix_ocean_restarts.py template_dir original_dir new_dir
where template has a very short run with new bathymetry, original_dir has the original restarts with the old bathymetry, and new_dir is where I want to store it.
The script runs with no errors, but when I verify the new restarts in new_dir, they are just the same as the template, like it hasn't filled them in with the original data. Not sure what I'm missing!
Thanks
The text was updated successfully, but these errors were encountered: