Opened 9 years ago
Closed 8 years ago
#1719 closed Bug (fixed)
"conservation diagnostic" variables not saved in restart file
Reported by: | njourdain | Owned by: | nemo |
---|---|---|---|
Priority: | low | Milestone: | |
Component: | OCE | Version: | trunk |
Severity: | Keywords: | ||
Cc: |
Description
Description
The conservation diagnostics made in diahsb.F90 do not save the variables surf_ini, ssh_ini, etc in the restart file even when ln_diahsb=true. The variables are defined in the netcdf restart file, but consist of zeros everywhere.
Analysis
This is because the restart file (numrow) has been closed by CALL rst_write( kstp ) before CALL dia_hsb( kstp ) in step.F90.
Recommendation
This is solved by moving CALL dia_hsb( kstp ) before CALL rst_write( kstp ) in step.F90.
Commit History (0)
(No commits)
Change History (1)
comment:1 Changed 8 years ago by clem
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
fixed