#277 closed Bug (fixed)
bug in fldread when reading the last record of previous year(month) file with non-climatological file
Reported by: | smasson | Owned by: | nemo |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | OCE | Version: | v3.0 |
Severity: | Keywords: | OPA surface v3.0 | |
Cc: |
Description
reported by Clement Bricaud:
When using non-climatological files, if we need to read the last record of previous year(month) in another file, there is a bug: we read the last reacord of the current year(month) file instead of the previous one.
For ex, when starting a run, with daily forcing, on Jan 1st of year 2008, we need 2007 Dec 31st but we will read 2008 Dec 31st.
Solution:
in fld_init, in the definition of llprevmth and llprevyr, replace "sdjf%ln_clim" by ".NOT. sdjf%ln_clim"
Commit History (0)
(No commits)
Change History (11)
comment:1 Changed 16 years ago by smasson
- Resolution set to fixed
- Status changed from new to closed
comment:2 Changed 8 years ago by nicolasmartin
- Keywords New Surface module added
comment:3 Changed 8 years ago by nicolasmartin
- Keywords new added; New removed
comment:4 Changed 8 years ago by nicolasmartin
- Keywords surface added; Surface removed
comment:5 Changed 8 years ago by nicolasmartin
- Keywords nemo_v3* added
comment:6 Changed 8 years ago by nicolasmartin
- Milestone New Surface Module deleted
Milestone New Surface Module deleted
comment:7 Changed 8 years ago by nicolasmartin
- Keywords module removed
comment:8 Changed 8 years ago by nicolasmartin
- Keywords new removed
comment:9 Changed 6 years ago by nemo
- Keywords release-3.0 added; nemo_v3* removed
comment:10 Changed 2 years ago by nemo
- Keywords OPA r3.0 added; release-3.0 removed
comment:11 Changed 2 years ago by nemo
- Keywords v3.0 added; r3.0 removed
Note: See
TracTickets for help on using
tickets.
fixed, see changeset:1219
WARNING: change the results