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.
Changeset 6825 for branches/UKMO/dev_r6501_GO6_package_trunk/NEMOGCM/NEMO/OPA_SRC/ICB/icbrst.F90 – NEMO

Ignore:
Timestamp:
2016-07-29T09:44:31+02:00 (8 years ago)
Author:
timgraham
Message:

As used for GO6 from trunk test

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/UKMO/dev_r6501_GO6_package_trunk/NEMOGCM/NEMO/OPA_SRC/ICB/icbrst.F90

    r6507 r6825  
    170170      cl_path = TRIM(cn_ocerst_outdir) 
    171171      IF( cl_path(LEN_TRIM(cl_path):) /= '/' ) cl_path = TRIM(cl_path) // '/' 
     172      IF ( ln_rstdate ) THEN 
     173         CALL ju2ymds( fjulday + rdt / rday, iyear, imonth, iday, zsec )            
     174         WRITE(clkt, '(i4.4,2i2.2)') iyear, imonth, iday 
     175      ELSE 
     176         IF( kt > 999999999 ) THEN   ;   WRITE(clkt, *       ) kt 
     177         ELSE                        ;   WRITE(clkt, '(i8.8)') kt 
     178         ENDIF 
     179      ENDIF 
    172180      IF( lk_mpp ) THEN 
    173181         WRITE(cl_filename,'(A,"_icebergs_",A,"_restart_",I4.4,".nc")') TRIM(cexper), TRIM(ADJUSTL(clkt)), narea-1 
Note: See TracChangeset for help on using the changeset viewer.