Opened 7 years ago

Closed 7 years ago

#729 closed upgrade (Done)

Updated Matlab script dayvec.m

Reported by: arango Owned by: arango
Priority: major Milestone: Matlab Processing Scripts
Component: Matlab Version: 3.7
Keywords: Cc:

Description

  • Updated Matlab script dayvec.m so it exactly as ROMS routine datevec in module dateclock.F. Mow, it returs more information fields to the output structure. For example:
    % dayvec(daynum(2000,2,28,23,58,45))
    
    ans = 
    
           daynum: 730483.999131944
        leap_year: 'true'
             yday: 59
             year: 2000
            month: 2
              day: 28
             hour: 23
          minutes: 58
          seconds: 45
           string: '2000-02-28 23:58:45.00'
    
  • Added new function tround.m to round floating-point numbers using Fuzzy or Tolerant Floor function.

Change History (1)

comment:1 by arango, 7 years ago

Component: NonlinearMatlab
Milestone: Release ROMS/TOMS 3.7Matlab Processing Scripts
Resolution: Done
Status: newclosed
Type: bugupgrade
Note: See TracTickets for help on using tickets.