Releases: fema-ffrd/rashdf
Releases · fema-ffrd/rashdf
v0.7.1
v0.7.0
v0.6.0
Features
- Generate Zarr metadata for mesh timeseries, reference line timeseries, and reference point timeseries data. Methods added to
RasPlanHdf
:zmeta_mesh_cells_timeseries_output
zmeta_mesh_faces_timeseries_output
zmeta_reference_lines_timeseries_output
zmeta_reference_points_timeseries_output
- Renames mesh timeseries output methods for consistency; deprecates original names:
mesh_cells_timeseries_output
(old:mesh_timeseries_output_cells
)mesh_faces_timeseries_output
(old:mesh_timeseries_output_faces
)
- Adds methods to return
DataFrame
objects of summary output data:mesh_cells_summary_output
mesh_faces_summary_output
v0.5.0
Features
- Reference lines & points
- Geometry
- Summary output
- Timeseries output
- GeoPandas 1.0: upgrades to GeoPandas 1.0+ (previously 0.14). At version 1.0, GeoPandas relies on
pyogrio
by default rather than Fiona for reading/writing data. Likewise,rashdf
now installs withpyogrio
as a transitive dependency of GeoPandas. Fiona can be optionally installed by the user. The "dev" dependency forrashdf
explicitly includes Fiona and some unit tests specify it for writing output.
v0.4.0
v0.3.0
Features
- 2D Mesh Summary Output Data: ability to export mesh Summary Output data from Plan HDF files. (e.g., Maximum Water Surface, Maximum Face Velocity, Cell Maximum Water Surface Error, etc.)
- Summary output data can be exported to pandas
DataFrame
objects via methods such as:mesh_max_ws
,mesh_max_face_v
,mesh_max_ws_err
, etc. - The methods
mesh_cell_points
,mesh_cell_polygons
,mesh_cell_faces
now include available summary output columns in the GeoDataFrame by default when an HDF file is opened withRasPlanHdf
.
- Summary output data can be exported to pandas
- 2D Mesh Timeseries output: ability to export mesh time series output data as xarray
DataArray
/Dataset
objects. NewRasPlanHdf
methods include:mesh_timeseries_output
: export a specific timeseries output as aDataArray
objectmesh_timeseries_output_cells
: export cell-based timeseries output data as aDataset
mesh_timeseries_output_faces
: export face-based timeseries output data as aDataset
v0.2.2
v0.2.1
Fixes an issue with rashdf
's datetime parsing functionality to handle the way RAS represents midnight in string format as 24:00:00
rather than 00:00:00
of the next day. For example, a RAS datetime string of 31Dec2023 24:00:00
should parse to a Python datetime of datetime(year=2024, month=1, day=1, hour=0, minute=0, second=0)
, i.e., 00:00:00
on January 1.
v0.2.0
v0.1.1
Fixes an issue with rashdf.utils.convert_ras_hdf_string
. The already-existing function rashdf.utils.parse_duration
wasn't getting used as intended to parse RAS HDF time duration strings. This update ensures that RAS HDF attribute string values in the format HH:MM:SS
are converted to datetime.timedelta
objects.