Opened 12 years ago

Closed 12 years ago

#266 closed Bug (fixed)

Reading monthly data in SBC.

Reported by: krimog Owned by: nemo
Priority: low Milestone:
Component: OCE Version: release-3.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 12 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.