#732 closed Bug (fixed)
day restart defined and written at the same time step
Reported by: | smasson | Owned by: | nemo |
---|---|---|---|
Priority: | low | Milestone: | |
Component: | OCE | Version: | trunk |
Severity: | Keywords: | 2010 | |
Cc: |
Description
When day_rst is called at the end of day, the value of lrst_oce is still corresponding to kt-1 as rst_opn that update this variable will be called after day in step.
In consequence, the day variables are not defined in the restart at kt-1 but at kt. This is not good for writing performances of restart as day variables are defined at the same time as they are written. See ocean.output:
iom_nf90_rp0123d, file: ..._restart.nc, var: kt defined ok iom_nf90_rp0123d, file: ..._restart.nc, var: kt written ok iom_nf90_rp0123d, file: ..._restart.nc, var: ndastp defined ok iom_nf90_rp0123d, file: ..._restart.nc, var: ndastp written ok iom_nf90_rp0123d, file: ..._restart.nc, var: adatrj defined ok iom_nf90_rp0123d, file: ..._restart.nc, var: adatrj written ok
Solution:
CALL rst_opn( kt )
must be called at the end of day just before
IF( lrst_oce ) CALL day_rst( kt, 'WRITE' )
Commit History (0)
(No commits)
Change History (7)
comment:1 Changed 14 years ago by smasson
- Resolution set to fixed
- Status changed from new to closed
comment:2 Changed 8 years ago by nicolasmartin
- Keywords 2010 Coastal Stream ocean ready added
comment:3 Changed 8 years ago by nicolasmartin
- Milestone 2010 Stream 0: Coastal ocean ready deleted
Milestone 2010 Stream 0: Coastal ocean ready deleted
comment:4 Changed 8 years ago by nicolasmartin
- Keywords Stream ocean ready added; CSor removed
comment:5 Changed 8 years ago by nicolasmartin
- Keywords Stream removed
comment:6 Changed 8 years ago by nicolasmartin
- Keywords ocean removed
comment:7 Changed 8 years ago by nicolasmartin
- Keywords ready removed
Note: See
TracTickets for help on using
tickets.
done, see changeset:2191
see at the end of ocean.output:
and later