Skip to content

Commit f1a52bd

Browse files
Clean up comment for nThresholds reflecting changes
1 parent c18abb0 commit f1a52bd

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

src/main/java/com/conveyal/analysis/results/GridResultWriter.java

+4-6
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,10 @@ public class GridResultWriter extends BaseResultWriter {
5050
private static final long HEADER_LENGTH_BYTES = 9 * Integer.BYTES;
5151

5252
/**
53-
* The number of thresholds (time or cumulative access) being applied when computing values for each origin.
54-
* The number of values stored per origin cell in an accessibility results grid.
55-
* Note that we're storing only the number of different thresholds, but not the values themselves in the file.
56-
* This means that the files can only be properly interpreted with the metadata from the regional analysis.
57-
* This is an intentional choice to avoid changing the file format, and in any case these files are not expected
58-
* to ever be used separately from an environment where the metadata is available.
53+
* The number of thresholds (time or cumulative access) stored in the grid and used for computing values per origin.
54+
*
55+
* Note: Only the number of thresholds is stored, not their values. Proper interpretation requires threshold values
56+
* from the regional analysis. Storing values would require a file format change.
5957
*/
6058
private final int nThresholds;
6159

0 commit comments

Comments
 (0)