You are here

WSC Error

I keep receiving a preprocessor error in the wsc.npt file. I searched through the file for any tabs or extra lines with the hope that I had made an error in creating the file. However, I was unable to find anything wrong. The preprocessor error was: Ending time 18171.000 < ending simulation time [TMEND=29220.000] in wsc.npt My simulation period is from January 1, 1929 to December 31, 2008. For the wsc.npt, I included an entry for the first and last day of the simulation (JD 1 and JD 29220). The remaining entries were the May 1st and October 1st values for each year in the simulation. The following is an example: 18018.0 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 5/1/1978 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.60 0.60 0.60 0.60 0.60 0.60 0.60 0.60 0.60 0.60 0.60 0.60 18171.0 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 18383.0 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 5/1/1979 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.60 0.60 0.60 0.60 0.60 0.60 0.60 0.60 0.60 0.60 0.60 0.60 18536.0 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 0.90 The interesting thing is if I delete the entries causing the preprocessor error (I had deleted the entry for JD 18171 and the preprocessor returned with a similar error. This occurred 4 times in total.), then the error is resolved. I'm curious to know if anyone else has encountered this particular error and how you managed to resolve it. I'm also wondering if I have too many entries and there's a limit that I'm hitting in the file. Thanks for any help you can give me.
Forums: 

Hi Brian, It looks like the preprocessor is limited to reading only 100 different date fields when reading wind sheltering files. I've sent a bug fix to Scott Wells and this will be fixed in the next preprocessor release. Otherwise the file looks fine. Your file should still work ok when using w2 execuatable. chris