Skip to content

Commit

Permalink
Remove depth from the export scpecs
Browse files Browse the repository at this point in the history
  • Loading branch information
adarmenov committed Jan 5, 2024
1 parent d6e0b9f commit 5edf8a1
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 41 deletions.
1 change: 0 additions & 1 deletion GEOS_OceanGridComp.F90
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,6 @@ subroutine SetServices ( GC, RC )
call MAPL_AddExportSpec (GC, SHORT_NAME = 'SW', CHILD_ID = OCN, _RC)
call MAPL_AddExportSpec (GC, SHORT_NAME = 'UW', CHILD_ID = OCN, _RC)
call MAPL_AddExportSpec (GC, SHORT_NAME = 'VW', CHILD_ID = OCN, _RC)
call MAPL_AddExportSpec (GC, SHORT_NAME = 'DW', CHILD_ID = OCN, _RC)

if(DO_DATASEA==0) then
call MAPL_AddExportSpec (GC, SHORT_NAME = 'DH', CHILD_ID = OCN, _RC)
Expand Down
28 changes: 0 additions & 28 deletions GEOSdatasea_GridComp/DataSea_ExtData.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,31 +3,3 @@ Exports:
collection: /dev/null
DATA_VW:
collection: /dev/null
DATA_DW:
collection: /dev/null
linear_transformation: [-3682.0, 0.0]

# --
#
# Comment:
# configuration: GEOS/WGCM
# description: realistic currents and ocean depth
#
# Samplings:
# static:
# extrapolation: persist_closest
#
# Collections:
# gebco_terrain_model_for_ocean_and_land:
# template: /discover/nobackup/projects/gmao/geos-wmma/data/gebco2008.ocean_depth.nc4
# s2s_ana_ocean:
# template: /discover/nobackup/projects/gmao/geos-wmma/data/S2S-2_1_ANA_001/S2S-2_1_ANA_001.geosgcm_ocn2d_720x361.%y4%m2%d2_1200z.nc4
#
# Exports:
# DATA_UW;DATA_VW:
# collection: /dev/null
# variable: none;none
# DATA_DW:
# collection: gebco_terrain_model_for_ocean_and_land
# sample: static
# variable: elevation
11 changes: 1 addition & 10 deletions GEOSdatasea_GridComp/GEOS_DataSeaGridComp.F90
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,7 @@ subroutine RUN ( GC, IMPORT, EXPORT, CLOCK, RC )
real, pointer, dimension(:,:) :: TNEW => null()
real, pointer, dimension(:,:) :: F1 => null()

real, parameter :: MAX_SPEED = 1e1 ! maximum surface current speed, m s-1
real, parameter :: MAX_TERRAIN = 12e3 ! maximum elevation/depth, m
real, parameter :: MAX_SPEED = 10.0 ! maximum surface current speed, m s-1

! Pointers to imports and exports
#include "GEOS_DataSea_DeclarePointer___.h"
Expand Down Expand Up @@ -274,14 +273,6 @@ subroutine RUN ( GC, IMPORT, EXPORT, CLOCK, RC )
end where
end if

if (associated(DW)) then
where (abs(DATA_DW) < MAX_TERRAIN)
DW = DATA_DW
elsewhere
DW = 0.0
end where
end if

TICE = MAPL_TICE-1.8

if (adjSST == 1) then
Expand Down
2 changes: 0 additions & 2 deletions GEOSdatasea_GridComp/GEOS_DataSea_StateSpecs.rc
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ category: IMPORT
DATA_SSS | PSU | xy | N | ocean_sssData | sea_surface_salinity
DATA_UW | m s-1 | xy | N | | zonal_velocity_of_surface_water
DATA_VW | m s-1 | xy | N | | meridional_velocity_of_surface_water
DATA_DW | m | xy | N | | sea_floor_depth

category: EXPORT
#----------------------------------------------------------------------------------------
Expand All @@ -22,7 +21,6 @@ category: EXPORT
#----------------------------------------------------------------------------------------
UW | m s-1 | xy | N | zonal_velocity_of_surface_water
VW | m s-1 | xy | N | meridional_velocity_of_surface_water
DW | m | xy | N | sea_floor_depth
TW | K | xy | N | foundation_temperature_for_interface_layer
SW | PSU | xy | N | foundation_salinity_for_interface_layer

Expand Down

0 comments on commit 5edf8a1

Please sign in to comment.