New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
#266 (Reading monthly data in SBC.) – NEMO

Opened 16 years ago

Closed 16 years ago

#266 closed Bug (fixed)

Reading monthly data in SBC.

Reported by: krimog Owned by: nemo
Priority: low Milestone:
Component: OCE Version: v3.0
Severity: Keywords:
Cc:

Description

Hi.

In fldread.F90 the following line (line no 386):

IF( sdjf%cltype == 'monthly' )   WRITE(sdjf%clname, '(a,"m",i2)'  ) TRIM( sdjf%clname     ), kmonth   ! add month

should be

IF( sdjf%cltype == 'monthly' )   WRITE(sdjf%clname, '(a,"m",i2.2)'  ) TRIM( sdjf%clname     ), kmonth   ! add month

(e.g. i2 -> i2.2) to get "y2001m01" rather than "y2001m 1" in the filenames. I don't think the space in the filename for month<10 is intentional.

/Kristian

Commit History (0)

(No commits)

Change History (1)

comment:1 Changed 16 years ago by smasson

  • Resolution set to fixed
  • Status changed from new to closed

you are right!

I also add i4.4 for year format.

bugfix done, see changeset:1212

Note: See TracTickets for help on using tickets.