Skip to content

Commit 5578478

Browse files
committed
merge latest main and resolve conflicts in mom_cap.
2 parents 8f73fb2 + 0de5c14 commit 5578478

11 files changed

+346
-229
lines changed

.readthedocs.yml

+9-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
1+
# Read the Docs configuration file for Sphinx projects
2+
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
3+
4+
# Required
15
version: 2
26

7+
build:
8+
os: ubuntu-22.04
9+
tools:
10+
python: "3.11"
11+
312
# Extra formats
413
# PDF generation is failing for now; disabled on 2020-12-02
514
#formats:
@@ -10,7 +19,5 @@ sphinx:
1019
configuration: docs/conf.py
1120

1221
python:
13-
# make sure we're using Python 3
14-
version: 3
1522
install:
1623
- requirements: docs/requirements.txt

config_src/drivers/FMS_cap/ocean_model_MOM.F90

+8
Original file line numberDiff line numberDiff line change
@@ -1201,6 +1201,14 @@ subroutine ocean_model_get_UV_surf(OS, Ocean, name, array2D, isc, jsc)
12011201
array2D(i,j) = G%mask2dBu(I+i0,J+j0) * &
12021202
0.5*(sfc_state%v(i+i0,J+j0)+sfc_state%v(i+i0+1,J+j0))
12031203
enddo ; enddo
1204+
case('uc')
1205+
do j=jsc_bnd,jec_bnd ; do i=isc_bnd,iec_bnd
1206+
array2D(i,j) = G%mask2dCu(I+i0,J+j0) * sfc_state%u(I+i0,j+j0)
1207+
enddo ; enddo
1208+
case('vc')
1209+
do j=jsc_bnd,jec_bnd ; do i=isc_bnd,iec_bnd
1210+
array2D(i,j) = G%mask2dCv(I+i0,J+j0) * sfc_state%v(i+i0,J+j0)
1211+
enddo ; enddo
12041212
case default
12051213
call MOM_error(FATAL,'ocean_model_get_UV_surf: unknown argument name='//name)
12061214
end select

config_src/drivers/nuopc_cap/mom_cap.F90

+194-89
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)