Skip to content

Commit c1d70f2

Browse files
committed
Update to latest bctide format
1 parent fcc3b73 commit c1d70f2

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

tests/test_bctides.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,15 @@ def __init__(self, boundaries, nodes=None):
2222

2323
def make_valid_bc_yaml(date="2011-01-28"):
2424
return {
25+
"name": "bctides.sed.in.3d",
2526
"modules": [
2627
{"name": "GEN", "num_tracers": 1},
2728
{"name": "SED", "num_tracers": 5},
2829
{"name": "AGE", "num_tracers": 2}
2930
],
3031
"date": date,
32+
"mode": "baroclinic",
33+
"temperature_salinity_computation": True,
3134
"earth_tides": {
3235
"cutoff_depth": 40,
3336
"constituents": [
@@ -78,6 +81,7 @@ def make_valid_bc_yaml(date="2011-01-28"):
7881
"open_boundaries": [
7982
{
8083
"name": "ocean",
84+
"flow_direction": "bidirection",
8185
"variables": [
8286
{"elevation": {
8387
"source": "tidal",
@@ -137,6 +141,7 @@ def make_dummy_mesh_and_bc_yaml(num_boundaries=1, nodes_per_boundary=10, date="2
137141
bc_yaml["open_boundaries"] = [
138142
{
139143
"name": f"{i}",
144+
"flow_direction": "bidirection",
140145
"variables": [
141146
{"elevation": {
142147
"source": "tidal",

0 commit comments

Comments
 (0)