Removed input data from post
This commit is contained in:
parent
32596da600
commit
75f932da98
1 changed files with 3 additions and 4 deletions
|
@ -21,12 +21,11 @@ log.info("Starting post-processing")
|
||||||
config = configparser.ConfigParser()
|
config = configparser.ConfigParser()
|
||||||
config.read("config.ini")
|
config.read("config.ini")
|
||||||
|
|
||||||
cache = pathlib.Path(config.get("data", "out"))
|
inp = pathlib.Path(config.get("post", "inp"))
|
||||||
root = pathlib.Path(config.get("swash", "out"))
|
root = pathlib.Path(config.get("swash", "out"))
|
||||||
|
|
||||||
log.info(f"Reading bathymetry from '{cache}'")
|
log.info(f"Reading bathymetry from '{inp}'")
|
||||||
bathy = pd.read_hdf(cache.joinpath("bathy.h5"), "bathy")
|
data = np.load(inp.joinpath("sws.npz"))
|
||||||
data = np.load(pathlib.Path(config.get("post", "inp")).joinpath("sws.npz"))
|
|
||||||
x, t = data["x"], data["t"]
|
x, t = data["x"], data["t"]
|
||||||
|
|
||||||
# Cospectral calculations
|
# Cospectral calculations
|
||||||
|
|
Loading…
Reference in a new issue