Skip to content

Releases: USACE/mcat-ras

v0.1.5

12 Feb 17:28
9031ee0
Compare
Choose a tag to compare

This release adds error handling to the RAS MCAT for older RAS models (version < 4.0) that do not contain geospatial data. This error handling includes code to check:

  • the geometry file version when determining if the model is geospatial.
  • that the model is geospatial before trying to extract the geospatial data itself.
  • if a cross-section's cutline is actually extracted from the geometry file.
  • if there are two or more station elevation pairs per cutline.

v0.1.4

29 Jan 21:26
7a2f0d5
Compare
Choose a tag to compare

This release includes updates to the isamodel, index, and isgeospatial methods.

  • The passed S3 key is said to be a model if the key is a .prj file, which exists and is valid, and if there is at least one geometry file in the same directory as the .prj file.
  • The index method now returns the general MCAT Model struct instead of the RasModel struct.
  • A model is said to be geospatial if it is a model and if a valid projection is identified.

v0.1.3

27 Jan 14:42
8417d53
Compare
Choose a tag to compare

This release uses the most up to date version of filestore, which updates the S3FS ping method. If a user enters the incorrect credentials or the name of a bucket that does not exist, the ping will return an error, otherwise the error will be nil.

v0.1.2

25 Jan 18:02
6936fe1
Compare
Choose a tag to compare

This release updates the name of one of the fields in the cross-section vector layers from "InterpolatedLine" to "CutLineProfileMatch." This change is to make the field more descriptive, where the field indicates whether a cut line and the cross-sectional profile match, i.e. whether they have the same length.

v0.1.1

22 Jan 20:41
0fe62e3
Compare
Choose a tag to compare

This release addresses edge cases that were identified during testing. Updates include:

  • a print statement to notify the user of two or more .prj files in the same directory when the second .prj is not a valid projection file.
  • stripping of non-numeric characters from a cross-section's station to avoid parsing errors.
  • a test that compares the length of a cross-section's 2D cutline to its profile length in order to avoid building a 3D cross-section linestring from station elevation data that does not match the cutline geometry.

Initial Release

12 Jan 16:17
6110a47
Compare
Choose a tag to compare

This is the initial release of the HEC-RAS Model Content and Analysis Tool (MCAT). The HEC-RAS MCAT is a stand-alone micro-service which includes its own REST API as well as a suite of methods called using HTTP requests for interrogating a HEC-RAS model. Included in this release is the capability to extract information from 2D models and information on hydraulic structures.