Custom Query (964 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (631 - 633 of 964)

Ticket Owner Reporter Resolution Summary
#760 arango Done Updated Copyright 2002-2018
Description

Updated the ROMS/TOMS Copyright to all algorithms:

  Copyright (c) 2002-2018 The ROMS/TOMS Group
     Licensed under a MIT/X style license
     See License_ROMS.txt

In case that you were wondering, the Copyright for the ROMS repositories is updated with the either of ROMS/Bin/copyright.sh or ROMS/Bin/copyright.bash by executing the script from the root of the repository:

ROMS/Bin/copyright.sh -verbose

For example, notice that in copyright.sh there are two sections that are used to update all files:

set search = "2002-2017 The ROMS/TOMS"
set replace = "2002-2018 The ROMS/TOMS"

and

if ( $setsvn == 1 ) then
  svn propset -R copyright '(c) 2002-2018 The ROMS/TOMS Group' Compilers
  svn propset -R copyright '(c) 2002-2018 The ROMS/TOMS Group' Data
  svn propset -R copyright '(c) 2002-2018 The ROMS/TOMS Group' Master
  svn propset -R copyright '(c) 2002-2018 The ROMS/TOMS Group' ROMS
  svn propset -R copyright '(c) 2002-2018 The ROMS/TOMS Group' User
  svn propset copyright '(c) 2002-2018 The ROMS/TOMS Group' . makefile
  svn propset copyright '(c) 2002-2018 The ROMS/TOMS Group' Waves/SWAN/Src/Module.mk
  svn propset copyright '(c) 2002-2016 The ROMS/TOMS Group' Waves/SWAN/Src/waves_coupler.F
else
  echo ""
  echo "Not updating svn properties."
  echo ""
endif

Notice that the svn properties for all the files and directories are also updated.

If this is done annually, the replacement is trivial. Otherwise, the search string needs to be modified accordingly.

Finally, this is required by our institutions to keep the Open Source license of ROMS.

#761 arango Done Updated few Matlab Scripts
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.
#763 arango Done IMPORTANT: More robust logic in check_multifile.F
Description

Changed the logic in check_multifile.F to compute local variable Tfinal from:

!
!  Get final time string for simulation.
!
      IF (model.eq.iADM) THEN
        Tfinal=dstart*day2sec
      ELSE
        Tfinal=dstart*day2sec+ntimes(ng)*dt(ng)
      END IF
      CALL time_string (tfinal, F_code)

to

!
!  Get final time string for simulation.
!
      IF (model.eq.iADM) THEN
        Tfinal=time(ng)-ntimes(ng)*dt(ng)
      ELSE
        Tfinal=time(ng)+ntimes(ng)*dt(ng)
      END IF
      CALL time_string (tfinal, F_code)

The latest is more robust because it doesn't depend on the user manipulation of DSTART in ocean.in. Under certain conditions the checking of input files may fail in check_multifile.F.

Also, I added precise error reporting in the routine inquiry.F.

Many thanks to Julia Levin for bringing this to my attention.

Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.