Changeset 5704 for branches/2015/dev_r5072_UKMO2_OBS_simplification/NEMOGCM/TOOLS/OBSTOOLS/src/fbgenerate_coords.F90
- Timestamp:
- 2015-08-21T15:00:38+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2015/dev_r5072_UKMO2_OBS_simplification/NEMOGCM/TOOLS/OBSTOOLS/src/fbgenerate_coords.F90
r4990 r5704 26 26 27 27 28 SUBROUTINE set_spatial_coords(lats,lons,n, FillVal)28 SUBROUTINE set_spatial_coords(lats,lons,n,nlats,nlons,FillVal) 29 29 IMPLICIT NONE 30 30 INTEGER :: i, j, k, p, nlats, nlons, nlats_in_list, nlons_in_list … … 436 436 array(j,:,k) = array(j,1,k) 437 437 END DO 438 438 ! If single depth and only first profile has a value then set the rest based on that 439 ELSE IF ((n > 1) .AND. (m == 1) .AND. (array(1,2,k) == FillVal)) THEN 440 array(1,2:,k) = array(1,1,k) 439 441 ELSE 440 442 array(:,:,k) = array(:,:,k)
Note: See TracChangeset
for help on using the changeset viewer.