Typo in 3rd paragraph - "Because gridded seismicity model may be governed by ..."
Typo in 1st paragraph of the Fault Sources section - "If a fault source is represented with a logic treek then ..."
Another typo in 1st paragraph of the Fault Sources section - "MFDs associated with finite fault models may be explicitely defined or or derived from ..."
HazardCurveTest.java, NshmTestsLarge.java, and NshmTestsSmall.java have blocks of commented code that kinda look like it should not be commented for the tests to properly run ?
However, unit tests in the pipeline do some to be successful. The coverage rate is 48% which could be improved.
NshmTestsLarge has been updated as part of our concurrent domain reviews. They are long running tests that we trigger manually after changes from nshmp-lib are merged.
This is a peculiarity of java that one just learns to live with but that also is quite useful in terms of carving out a namespace. It also simplifies separating out all tests and resources when building the libray. In most circumstances (IDE's, GitLab) the empty directories are collapsed. The split into source and test is also something that has been adopted by the Java world and build tools are happy with it so I supposed we must too. I
There are a number of ToDo items staggered throughout the repository. Some of them appear as if they should be addressed while others are perhaps meant more as a comment. Please address these. Here is a list where I saw such ToDo items:
src/main/java/gov/usgs/earthquake/nshmp/DeaggCalc.java line 124
There were a few areas where code was commented. I suggest that these are removed, or if they may be needed then perhaps add a comment explaining why they are to remain commented. Else, maybe some sort of if or for loop could be added. See list location of commented code blocks below:
src/main/java/gov/usgs/earthquake/nshmp/site/CybershakeSite.java line 21 - still waiting for a response?
When using this class as a standalone CLI program, the filename can actually be whatever the user wants it to be, as long as it can be parsed as csv. Clarified CLI usage string in !591 (merged)