-
Notifications
You must be signed in to change notification settings - Fork 4
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
Add option to write diagnostics from balance operator #1106
Comments
Is there an example for writing netcdf files in SOCA without defining the For instance, in your bkgerr pointer: type(soca_fields) :: std_bkgerr |
ah yes, one of the downsides of our soca IO, this is one of my motivations for refactoring things into C++/native-atlas fieldsets, it's easy to dump out any arbitrary atlas fieldset on the C++ side. You could
|
Ok thanks! I guess it depends on if you want this as a more permanent feature to be used among other balance, so I could even add it as a method/module, or is it like a one off time while we fix things. I will try both ways. |
yeah, I'd say do whatever is fastest for you. It's in the plans to refactor all this into a C++ saber outer block |
So, I want to go with the type(soca_field), pointer :: tocn, socn, hocn, cice, mld, layer_depth
type(soca_fields) :: jac_out
.
.
.
! optionally write out Kst Jacobian
if( f_conf%has("jacobian_output")) then
call f_conf%get_or_die("jacobian_output.filename", str)
call self%jac_out%copy(self%kst%jacobian)
! call self%kst%jacobian%write_file(str)
end if
Which is confusing because I'm solely replicating what was done for Sorry, I'm not a JEDI Academy attendee so bear with my simple questions. I'm one level below Padawan if that exists 😄 Happy to have brief chats over these type of minor issues if you have time. |
Description
Add an option to the balance operator linvarchange to write out the Jacobians and evaluate how they look
(See what was done in the old BkgErrGodas lin variable change
soca/src/soca/LinearVariableChange/BkgErrGodas/soca_bkgerrgodas_mod.F90
Line 123 in 7f2ddb6
The text was updated successfully, but these errors were encountered: