When running PRMS for the CONUS NHM domain the program exits with an error when reading the data file. The error is:
EXTRACT_time - year 60 out of range.
The constant MAXDATALNLEN in defs.h is set to 12000 which limits the max number of characters for each line read from the data file. One possible solution is to change this to 60000 which is longer than the longest line in the CONUS data file.
There is also the ability to override this on the command line with -MAXDATALNLEN .
The wording of the error does not provide sufficient indication of what is wrong and what the solution might be. Could this be altered to indicate: 1) this is related to the data file, and 2) how to solve by specifying the command line override.
When running PRMS for the CONUS NHM domain the program exits with an error when reading the data file. The error is: EXTRACT_time - year 60 out of range.
The constant MAXDATALNLEN in defs.h is set to 12000 which limits the max number of characters for each line read from the data file. One possible solution is to change this to 60000 which is longer than the longest line in the CONUS data file.
There is also the ability to override this on the command line with -MAXDATALNLEN.
The wording of the error does not provide sufficient indication of what is wrong and what the solution might be. Could this be altered to indicate: 1) this is related to the data file, and 2) how to solve by specifying the command line override.