Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Chrismarsh committed Jan 19, 2025
1 parent 3682b26 commit a557241
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions docs/forcing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,8 @@ This json can be generated as follows:
import glob
import natsort
import xarray as xr
from pathlib import Path
import json
file_paths = natsort.natsorted(glob.glob('CF-2024*.nc'))
metadata_list = []
Expand Down
4 changes: 2 additions & 2 deletions src/core.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ void core::config_forcing(pt::ptree &value)

nstations = _metdata->nstations();

// we need to estimate some
// we need to estimate elevations of the forcing assuming it's surface level from the mesh
if(_metdata->missing_z())
{
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");
Expand Down Expand Up @@ -1487,7 +1487,7 @@ void core::init(int argc, char **argv)
}


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

0 comments on commit a557241

Please sign in to comment.