Closed WY-CGhilardi closed 1 year ago
Greetings,
Thank you for your submittal.
Please note that the Keyword Guide and the Essential FVS Guide specify the use of the PARMS keyword format to be the Keyword name followed by the year or cycle (which shall be right justified to column 20) and the PARMS statement should begin somewhere between columns 21 and 30. Defaults that are used when using the long form keyword calling are not applicable when using the PARMS statement, thus all parameters must be user supplied. There are no built-in checks for proper inputs when using the PARMS statement, so users must be extra cautious.
The proper format to designate a 'PLANT' keyword in every cycle using the PARMS style would be:
COMMENT
COLUMNS 10 20 30 40 50 60 70 80
....:....|....:....|....:....|....:....|....:....|....:....|....:....|....:....|
END
ESTAB
!Corrected Format for planting every cycle
PLANT 0 PARMS(LP,385, 85, 1, 0.75, 0)
!Corrected Format for planting 1st cycle
!PLANT 1 PARMS(LP,385, 85, 1, 0.75, 0)
!Corrected Format for planting in year 2025 cycle
!PLANT 2025 PARMS(LP,385, 85, 1, 0.75, 0)
END
It appears the version initially labeled as 'working' (PLANT PARMS(1,LP,385, 85, 1, 0.75, 0)
) in the issue report, does not plant the intended 385 tpa of LP, but rather established 50 tpa of species 1, fir ('FR').
The version that was creating the I/O runtime error was attempting to establish species '0' which does not exist in the variant.
This appears to be causing a change to the sample tree output file pointer for this run. However, it should be possible to add an I/O error trap to the read call which we will look at including in a future release.
Thanks for your input.
Version Info:
RV:20230106.1
on windows. Installed from the variant installer executableI originally came across this behavior from a typo, but though the error could be handled better. When using a plant record with a cycle of 0, we return a FORTRAN runtime error.
Using the following
.key
file, ran withFVSsn.exe --keywordfile= blahh.key
The error message I get is: