Skip to content

Commit

Permalink
readme: update data processing step example cmd; +note on subdomains
Browse files Browse the repository at this point in the history
  • Loading branch information
raehik committed Aug 11, 2023
1 parent 1d22b2d commit 6958f5e
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ MLflow call example:

```
mlflow run . --experiment-name <name>--env-manager=local \
-P lat_min=-25 -P lat_max=25 -P long_min=-280 -P long_max=80 \
-P lat_min=-80 -P lat_max=80 -P long_min=-280 -P long_max=80 \
-P factor=4 \
-P CO2=1 -P global=0 \
-P ntimes=100 \
Expand Down Expand Up @@ -175,6 +175,15 @@ the domains used for training. These are defined in
coordinates. Note that at run time domains will be truncated to the size of the
smallest domain in terms of number of points.

*Note:* Ensure that the spatial subdomains defined in `training_subdomains.yaml`
are contained in the domain of the forcing data you use. If they aren't, you may
get a Python error along the lines of:

```
RuntimeError: Calculated padded input size per channel: <smaller than 5 x 5>.
Kernel size: (5 x 5). Kernel size can't be greater than actual input size
```

#### Testing
The [`testing/main.py`](src/gz21_ocean_momentum/testing/main.py) script runs the
model testing stage. You select a trained model and a region (which should be
Expand Down

0 comments on commit 6958f5e

Please sign in to comment.