Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions post/rs_numtiles.F90
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
program rs_numtiles
program rs_numtiles

use iso_fortran_env
use MAPL
Expand All @@ -7,7 +7,7 @@ program rs_numtiles

character(256) :: fname1

#ifndef __GFORTRAN__
#if !defined(__GFORTRAN__) && !defined(__flang__)
integer :: ftell
external :: ftell
#endif
Expand All @@ -17,7 +17,7 @@ program rs_numtiles
type(Netcdf4_Fileformatter) :: formatter
type(FileMetadata) :: cfg
integer :: rc, filetype

! Usage
! -----

Expand Down Expand Up @@ -58,7 +58,7 @@ program rs_numtiles
bpos=0
read (10)
epos = ftell(10) ! ending position of file pointer
ntiles = (epos-bpos)/4-2 ! record size (in 4 byte words;
ntiles = (epos-bpos)/4-2 ! record size (in 4 byte words;
rewind 10
end if

Expand Down
8 changes: 4 additions & 4 deletions pre/prepare_ocnExtData/daily_clim_SST_FRACI_eight.F90
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ PROGRAM daily_clim_SST_FRACI_eight
CHARACTER (LEN = 200) :: data_path
CHARACTER (LEN = 200) :: sst_file_pref, ice_file_pref
CHARACTER (LEN = 200) :: sst_file_suff, ice_file_suff

INTEGER :: nymd_in, nYears
INTEGER :: nymd_out, NLON, NLAT
REAL :: LON(2880), LAT(1440)
Expand All @@ -29,7 +29,7 @@ PROGRAM daily_clim_SST_FRACI_eight
LOGICAL :: verbose

character (len=4) :: arg
integer :: numArgs
integer :: numArgs, iargc
numArgs = iargc()

verbose = .false.
Expand All @@ -49,7 +49,7 @@ PROGRAM daily_clim_SST_FRACI_eight
call getarg(4, arg)
read(arg, '(I2)') day
end if

! - Set inputs
clim_year = 1 ! Set, can't be "0" since GEOS/ESMF does not like that!
! GMAO OPS has following fixed
Expand Down Expand Up @@ -103,7 +103,7 @@ PROGRAM daily_clim_SST_FRACI_eight
mean_sst = sst
mean_ice = ice
else
mean_sst = mean_sst + sst
mean_sst = mean_sst + sst
mean_ice = mean_ice + ice
endif
endif
Expand Down
Loading