Closed liamtoney closed 4 years ago
This was implemented here: https://github.com/liamtoney/rtm/commit/8471e0d364e9d3d76917bc7a6217980a93728109. Still not able to fully write/open the netcdf files with the UTM dict entry, but there is a reasonable work-around now.
Even though we use pickle for "internal" storage of the FDTD DEM grid metadata, let's use the netCDF format to store the
DataArray
created withinfdtd_travel_time()
. (To be clear, that object is not the interpolated final output!)fdtd_travel_time()
, when called, will first check if a*.nc
file is present inFDTD_DIR
before it reads in the numerous FDTD files present in that directory.The motivation for netCDF use is that such an object — with (georeferenced) dimensions (x, y, station) and values of travel time — is useful for other folks doing other work. netCDF is a good platform/language-agnostic choice.