Skip to content

Commit a557241

Browse files
committed
docs
1 parent 3682b26 commit a557241

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

docs/forcing.rst

+2
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,8 @@ This json can be generated as follows:
182182
import glob
183183
import natsort
184184
import xarray as xr
185+
from pathlib import Path
186+
import json
185187
186188
file_paths = natsort.natsorted(glob.glob('CF-2024*.nc'))
187189
metadata_list = []

src/core.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,7 @@ void core::config_forcing(pt::ptree &value)
541541

542542
nstations = _metdata->nstations();
543543

544-
// we need to estimate some
544+
// we need to estimate elevations of the forcing assuming it's surface level from the mesh
545545
if(_metdata->missing_z())
546546
{
547547
SPDLOG_WARN("No geopotential height field found in the netcdf file. Using the height of nearest triangle to estimate. This is almost certainly NOT what you want");
@@ -1487,7 +1487,7 @@ void core::init(int argc, char **argv)
14871487
}
14881488

14891489

1490-
// INSERT STATION TRIMMING HERE (after options for interpolation stuff has occurred)
1490+
// Now the forcing and mesh are loaded, assign each face the station lists
14911491
populate_face_station_lists();
14921492
// TODO: double check this but we now prune the station list on load to the mesh extent which is MPI aware
14931493
// so we should be fine to fully remove this

0 commit comments

Comments
 (0)