1
Fork 0

Removed input data from post

This commit is contained in:
Edgar P. Burkhart 2022-03-04 11:30:23 +01:00
parent 32596da600
commit 75f932da98
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227

View file

@ -21,12 +21,11 @@ log.info("Starting post-processing")
config = configparser.ConfigParser()
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"))
log.info(f"Reading bathymetry from '{cache}'")
bathy = pd.read_hdf(cache.joinpath("bathy.h5"), "bathy")
data = np.load(pathlib.Path(config.get("post", "inp")).joinpath("sws.npz"))
log.info(f"Reading bathymetry from '{inp}'")
data = np.load(inp.joinpath("sws.npz"))
x, t = data["x"], data["t"]
# Cospectral calculations