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

Move scripts for generating WW3 inputs #3

Open
dougiesquire opened this issue Jan 24, 2024 · 5 comments
Open

Move scripts for generating WW3 inputs #3

dougiesquire opened this issue Jan 24, 2024 · 5 comments
Assignees

Comments

@dougiesquire
Copy link
Collaborator

Possibly move some of the contents of WW3_PreProc?

@ezhilsabareesh8, does it make sense to move GenGrid.py, update it to include info in the output files about how they were generated (see here) and then update the OM2_1.* files in the configuration repo?

@ezhilsabareesh8
Copy link
Contributor

Thanks @dougiesquire. I think moving GenGrid.py to om3-scripts makes sense and l also think we could leave all the OM2_1.* in the config repo since these files can be regenerated with GenGrid.py. I will update GenGrid.py and move it to om3-scripts.

@dougiesquire
Copy link
Collaborator Author

Re the OM2_1.* files, can they contain comments? If so, it would be good to update them to include an auto-generated comment with the url and commit hash to the script used to create them.

@ezhilsabareesh8
Copy link
Contributor

Re the OM2_1.* files, can they contain comments?

Regarding the OM2_1.* files, they cannot include comments. These files contain Lat, Lon, and depth data and adhere to a specific format for compatibility with the WW3 F77 routines, which rely on a predefined structure for proper interpretation.

@dougiesquire
Copy link
Collaborator Author

Regarding the OM2_1.* files, they cannot include comments

Rats. I guess the script could generate a README with the provenance info for the files, or am I getting carried away?

@ezhilsabareesh8
Copy link
Contributor

The script could only generate WW3_grid executable - compatible latitude, longitude, and depth files from OM2's ocean_hgrid and topog data. We can include a separate readme file with information on OM2_1.* files.

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