Opened 6 years ago

Closed 6 years ago

#761 closed upgrade (Done)

Updated few Matlab Scripts

Reported by: arango Owned by:
Priority: major Milestone: Release ROMS/TOMS 3.7
Component: Matlab Version: 3.7
Keywords: Cc:

Description

Several Matlab scripts are updated, and new are included:

  • boundary/extract_bry.m: A new function to read requested variable from a ROMS NetCDF file at the specified time record and extracts the lateral boundary edges. No interpolation is carried out.
  • boundary/interp_boundary.m: A new function function interpolates lateral boundary conditions for a ROMS generic 2D or 3D state variable from a Donor to Receiver grids.
  • grid/ad_interpolator.m: Adjoint of intepolator.m, which spatially interpolates a ROMS field to horizontal path/trajectory. It is primarily used to compute observation impact and sensitivity functional. Corrected and an adjoint bug in the vector summation. The summation is now coded in for-loops. Many thanks to Andy Moore for correcting this function.
  • utility/daynum360.m: New function to calculates date number from a 360-day calendar date (ROMS Version). It has a year length of 360 days and every month have 30 days.
  • utility/dayvec360.m: New function to calculates date from a date number of the 360-day calendar. It is the inverse of daynum360.
  • And offset of 61 days are added to ROMS date processing functions daynum.m and its inverse dayvec.m to match native Matlab functions datenum and datevec. Both daynum and dayvec are used to verify and ROMS date managing functions since they use different equations.

Change History (1)

comment:1 by arango, 6 years ago

Resolution: Done
Status: newclosed
Note: See TracTickets for help on using tickets.