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

allow output which is controlled by FMS (diag_table) to be optionally written to specified directory #2084

Closed
DeniseWorthen opened this issue Jan 10, 2024 · 1 comment · Fixed by #2215
Assignees
Labels
enhancement New feature or request

Comments

@DeniseWorthen
Copy link
Collaborator

DeniseWorthen commented Jan 10, 2024

Description

Currently all MOM6) gets written to the current working directory. For G-W, it is preferable that this output be in a configurable location, e.g. ATM_OUTPUT. For MOM6, there is currently a MOM6_OUTPUT directory available, but the model output itself is not written to that directory.

Solution

Update the diag_table files with a configurable location. For MOM6, this requires for example:

 ######################
"./MOM6_OUTPUT/ocn%4yr%2mo%2dy%2hr",      6,  "hours", 1, "hours", "time", 6, "hours", "1901 1 1 0 0 0"
##############################################
# ocean output TSUV and others
 "ocean_model", "SSH",       "SSH",      "./MOM6_OUTPUT/ocn%4yr%2mo%2dy%2hr","all",.true.,"none",2
....

For the RTs, the output directory for the ATM should be maintained in the current working directory so that the list of baseline comparison files does not need to change. This can be done by using export ATM_OUTPUT = ./ which will be used for the ATM portion of the diag_table.

Alternatives

Related to

@DeniseWorthen DeniseWorthen added the enhancement New feature or request label Jan 10, 2024
@DeniseWorthen
Copy link
Collaborator Author

DeniseWorthen commented Jan 10, 2024

This is working fine for MOM6 output, but is not correctly directing ATM output to something other than the current directory. I thought the diag_table would work similar to MOM6, but I think since we are using the WGC, the directory name needs to be appended to the filename there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment