Releases: fema-ffrd/rashdf
Releases · fema-ffrd/rashdf
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.
v0.1.0
Features
- Initial classes for
RasHdf
,RasGeomHdf
,RasPlanHdf
as subclasses ofh5py.File
- Methods implemented:
projection
: return the projection as a pyprojCRS
objectmesh_area_names
: return the list of 2D mesh area namesRasGeomHdf
methods returningGeoDataFrame
objects:mesh_areas
: 2D flow area perimeter polygonsmesh_cell_polygons
: 2D flow area cells as polygonsmesh_cell_points
: 2D flow area cell centersmesh_cell_faces
: 2D flow area cell faces as linesbc_lines
: 2D boundary condition linesbreaklines
refinement_regions
- Methods to return dictionaries of attributes (i.e., metadata) for certain HDF groups:
RasGeomHdf
:get_geom_attrs
get_geom_structures_attrs
get_geom_2d_flow_area_attrs
RasPlanHdf
:get_plan_info_attrs
get_plan_param_attrs
get_meteorology_precip_attrs
get_results_unsteady_attrs
get_results_unsteady_summary_attrs
get_results_volume_accounting_attrs
v0.1.0-beta.1
Features
- Initial classes for
RasHdf
,RasGeomHdf
,RasPlanHdf
as subclasses ofh5py.File
- Methods implemented:
projection
: return the projection as a pyprojCRS
objectmesh_area_names
: return the list of 2D mesh area names- Methods returning
GeoDataFrame
objects:mesh_areas
: 2D flow area perimeter polygonsmesh_cell_polygons
: 2D flow area cells as polygonsmesh_cell_points
: 2D flow area cell centersmesh_cell_faces
: 2D flow area cell faces as lines