Page 2 of 3

Re: For New Users

Posted: Sun 05 Jul 2020 1:30 pm
by rogerthn
HansR wrote:
Sun 05 Jul 2020 1:28 pm
@rogerthn:
So, MAP is OK then. Weird though why it did not work first time. I'll keep an eye on it.

And could you send me the log for a normal run? You say there is still 'index out of range messages.
Not sure I 'll change it but I might, depending on the complexity and consequences.
Just curious.
Log file as PM?
:P

Re: For New Users

Posted: Sun 05 Jul 2020 4:41 pm
by HansR
And for other CumulusUtils starters: YES, you need at least 32 days in dayfile.txt to use the modules of CumulusUtils which use the data.

Re: For New Users

Posted: Sun 05 Jul 2020 5:40 pm
by rogerthn
HansR wrote:
Sun 05 Jul 2020 4:41 pm
And for other CumulusUtils starters: YES, you need at least 32 days in dayfile.txt to use the modules of CumulusUtils which use the data.
If Hans includes the 32 day fix viewtopic.php?p=144436#p144436
You will NOT get any meaningful output with few input days but you can try some modules with less than 32 days in dayfile.txt
SysInfo can be used.
MapsOn can be used but Website needs to be specified
Yadr can be used
Records can be used
NOAA can be used
DayRecords can be used
Forecast can be used but ForecastSystem etc needs to be specified
WindRose can be used
pwsFWI, Graphs and Top10 will say Exception Unknown : Index was out of range

Re: For New Users

Posted: Wed 05 Aug 2020 10:04 am
by rogerthn
HansR wrote:
Sun 05 Jul 2020 4:41 pm
And for other CumulusUtils starters: YES, you need at least 32 days in dayfile.txt to use the modules of CumulusUtils which use the data.
Does pwsFWI need more than 32 days?
I do have 33 with with ini file

Code: Select all

[pwsFWI]
Analyse=30
WarningLevel=5
ResultFormat=Standard
FireImage=true
predictionURL=
and I do get

Code: Select all

2020-08-05 11:48:16.592  Support constructor
2020-08-05 11:48:16.662  Support constructor : Unit Wind (m/s, mph, km/h, kts): 0
2020-08-05 11:48:16.662  Support constructor : Unit Pressure (mb,hPa,inHg): 1
2020-08-05 11:48:16.663  Support constructor : Unit Rain (mm,in): 0
2020-08-05 11:48:16.663  Support constructor : Unit T (C,F): 0
2020-08-05 11:48:16.667  CUstrings[xx].ini : CUstringsEN.ini looked for.
2020-08-05 11:48:16.670 CumulusUtils : ----------------------------
2020-08-05 11:48:16.670 CumulusUtils : Entering Main
2020-08-05 11:48:16.730 CommandLineArgs : starting
2020-08-05 11:48:16.731  CommandLineArgs : handling arg: pwsFWI
2020-08-05 11:48:16.731 CommandLineArgs : End
2020-08-05 11:48:16.732 CumulusUtils : Creating class dayfile -> Opening dayfile.txt
2020-08-05 11:48:16.736 Dayfile constructor: Using path: |data/|; file: |dayfile.txt
2020-08-05 11:48:16.738 Dayfile constructor: Working on: data/copy_dayfile.txt
2020-08-05 11:48:16.740 Dayfile constructor: DayfileType is SlashCommaPoint
2020-08-05 11:48:16.789 Dayfile : EOF detected
2020-08-05 11:48:16.794 Timing of Dayfile load = 58 ms
2020-08-05 11:48:16.805 PwsFWIfuncs constructor
2020-08-05 11:48:16.806  PwsFWIfuncs BeteljuiceFormat = False
2020-08-05 11:48:16.806  PwsFWIfuncs USerFireImage = True
2020-08-05 11:48:16.806  PwsFWIfuncs DoPrediction = False
2020-08-05 11:48:16.826 calculatePwsFWI : starting
2020-08-05 11:48:16.827 calculatePwsFWI : ANALYSE is OFF
2020-08-05 11:48:16.828 calculatePwsFWI : i=-2 to LineCount=33
2020-08-05 11:48:16.832 Exception Unknown : Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
2020-08-05 11:48:16.837 Data (cont): mscorlib
2020-08-05 11:48:16.862 Data:   at System.Collections.Generic.List`1[T].get_Item (System.Int32 index) [0x0000c] in <d0e12f672b88444ab4b6d9b2ecf20142>:0
  at CumulusUtils.PwsFWI.CalculatePwsFWI (System.Collections.Generic.List`1[T] ThisList) [0x001e1] in <12ddb86203ad4b59a668d5b6edb45408>:0
  at CumulusUtils.CMXutils.RealMain (System.String[] args) [0x003d7] in <12ddb86203ad4b59a668d5b6edb45408>:0
  at CumulusUtils.CMXutils.Main (System.String[] args) [0x0021e] in <12ddb86203ad4b59a668d5b6edb45408>:0
2020-08-05 11:48:16.863 Exiting - check log file

Re: For New Users

Posted: Wed 05 Aug 2020 10:48 am
by HansR
Fair enough, that seems a bug to me. But I assume that will be over tomorrow - sorry for that, one more day :( - as I am not behind my computer at the moment and can't do an instant fix. I will repair it so that others who start from scratch won't run into the same problem.

Re: For New Users

Posted: Wed 05 Aug 2020 10:58 am
by rogerthn
OK!
Might need 2 more days?

Code: Select all

2020-08-05 11:48:16.828 calculatePwsFWI : i=-2 to LineCount=33
2020-08-05 11:48:16.832 Exception Unknown : Index was out of range. Must be non-negative and less than the size of the collection.

Re: For New Users

Posted: Wed 05 Aug 2020 11:47 am
by HansR
Hmm... I guess you are right.

And I now remember the point which definitely should have been handled correctly: when using 30 days pwsFWI requires 5 more days to do the process 'smoothing'.
You can read about it on the blog when you search on 'Smoothing' (and 'quenching').

When I introduced / modified smoothing, I forgot to adjust the starting conditions for the required added 5 days. That's sloppy programming, right :mrgreen:
As said, I will correct it, but hope you can handle the wait because it won't be ready before your wait is over. Sorry for that. 8-)

Re: For New Users

Posted: Wed 05 Aug 2020 12:41 pm
by HansR
What you might try btw - as workaround - is set analysis to 90 (anyway larger than 35 or so).
The algorithm seems to work then.

Re: For New Users

Posted: Wed 05 Aug 2020 1:32 pm
by rogerthn
Thanks!
2020-08-05 15:29:34.407 calculatePwsFWI : i=0 to LineCount=33
with Analyse=90
Time to try Website :D

Re: For New Users

Posted: Wed 05 Aug 2020 5:10 pm
by rogerthn
Getting there 8-)
I did start with an empty folder cumulusutils, UploadDir=/cumulusutils
Since the FTP user isn't allowed to create folders I had to create folder css and lib
Then I did create some symbolic links as below to the CumulusMX folder.

Code: Select all

dailyrain.json -> ../weather3/dailyrain.json
dailytemp.json -> ../weather3/dailytemp.json
graphconfig.json -> ../weather3/graphconfig.json
humdata.json -> ../weather3/humdata.json
pressdata.json -> ../weather3/pressdata.json
raindata.json -> ../weather3/raindata.json
realtime.txt -> ../weather3/realtime.txt
realtimegauges.txt -> ../weather3/realtimegauges.txt
solardata.json -> ../weather3/solardata.json
sunhours.json -> ../weather3/sunhours.json
tempdata.json -> ../weather3/tempdata.json
wdirdata.json -> ../weather3/wdirdata.json
winddata.json -> ../weather3/winddata.json
I guess that I can use CumulusMX directly but I "needed" to do it my way ;)

There are a couple of ?
System Info have Nr of processors: <#CpuCount>?
Reports: NOAA seems to need some TLS?
Reports: Rain Graphs, Daily Rain do show Wind Rose other Rain Reports might need more data?
Reports: Temp Graphs need more data to make any sense.
Reports: Misc Graphs need more data to make any sense.
??? Now the Rain Graphs, Daily Rain show Monthly Average Temperature ???

PS
I had to rename "root" index.html to index.htm or it was "picked up" by cumulusutils

Finally
:clap: :clap: :clap:

Re: For New Users

Posted: Wed 05 Aug 2020 7:16 pm
by HansR
rogerthn wrote:
Wed 05 Aug 2020 5:10 pm
Getting there 8-)
I did start with an empty folder cumulusutils, UploadDir=/cumulusutils
Since the FTP user isn't allowed to create folders I had to create folder css and lib
Good
rogerthn wrote:
Wed 05 Aug 2020 5:10 pm
Then I did create some symbolic links as below to the CumulusMX folder.

I guess that I can use CumulusMX directly but I "needed" to do it my way ;)
Nice, on Unix indeed you can use sumbolic links iso CumulusRealTimeLocation parameter. Windows does not know those.
You're the first to do so :idea: :!:
Others may thank you for this ;)
rogerthn wrote:
Wed 05 Aug 2020 5:10 pm
There are a couple of ?
System Info have Nr of processors: <#CpuCount>?
A leftover of 3.x Fixed in next release
rogerthn wrote:
Wed 05 Aug 2020 5:10 pm
Reports: NOAA seems to need some TLS?
Your report directory in Cumulus is not the same as in CumulusUtils. It is a free to choose directory. Note that the report files MUST be in default format.
rogerthn wrote:
Wed 05 Aug 2020 5:10 pm
Reports: Rain Graphs, Daily Rain do show Wind Rose other Rain Reports might need more data?
Now that really is weird. When debugging the console (F12) I see many errors. When checking the raingraph file I can see that it is the moving average which misses data.
That is a bug (again, you're the first working with so little data ;)
But It is surprising it then comes up with the WindRose. :groan:
Javascript remains working wonders especially when with Highcharts.

Anyway, I'll look into a fix, but a workaround probably is to set the Moving Average period to less than half the amount of data you have. So in your case, set PeriodMovingAverage to 10 or so.
rogerthn wrote:
Wed 05 Aug 2020 5:10 pm
Reports: Temp Graphs need more data to make any sense.

Reports: Misc Graphs need more data to make any sense.
Yes, most of those require more data. Preferably more than a year. Patience is a virtue ;)
rogerthn wrote:
Wed 05 Aug 2020 5:10 pm
??? Now the Rain Graphs, Daily Rain show Monthly Average Temperature ???
No.

EVT by the way is not supported by your weather station so that graph better be swithced off., The fact that you see that graph on the EVT position is just as strange as the WindRose in the Daily Rain graph position. First set your moving average to 15 and then we'll see how it goes.

And you must fill in the normal values in CumulusMX for both rain and temperature. (Settings->NOAA settings->Normal Mean Temperatures & Normal Precipitation
rogerthn wrote:
Wed 05 Aug 2020 5:10 pm
PS
I had to rename "root" index.html to index.htm or it was "picked up" by cumulusutils
That I do not understand. Should not have to rename that index file.
rogerthn wrote:
Wed 05 Aug 2020 5:10 pm
Finally
:clap: :clap: :clap:
Thanks you :D

Re: For New Users

Posted: Thu 06 Aug 2020 8:56 am
by rogerthn
Thanks!

NOAA might be fixed at some time :o

PeriodMovingAverage (temporary) set to 10

DailyEVT=false
MonthlyEVT=false
Is it possible to hide menu Reports: Misc Graphs
temp.png

Index file in "root" back to index.html and now it seems to be OK.
The "abnormality" happens if CUsermenu.txt is missing
With missing NOAA configuration ../index.html is shown in Reports NOAA :lol:

Minor issue but I did find GET /cumulusutils/lib/steelseries.min.js.map in nginx error log?
Not seen in the log file from today, yet?

Re: For New Users

Posted: Thu 06 Aug 2020 5:32 pm
by HansR
rogerthn wrote:
Thu 06 Aug 2020 8:56 am
Thanks!

NOAA might be fixed at some time :o

PeriodMovingAverage (temporary) set to 10

DailyEVT=false
MonthlyEVT=false
OK.
rogerthn wrote:
Thu 06 Aug 2020 8:56 am
Is it possible to hide menu Reports: Misc Graphs
Not at the moment, maybe some time.
rogerthn wrote:
Thu 06 Aug 2020 8:56 am
Index file in "root" back to index.html and now it seems to be OK.
The "abnormality" happens if CUsermenu.txt is missing
With missing NOAA configuration ../index.html is shown in Reports NOAA :lol:
So with correct config all is OK...
rogerthn wrote:
Thu 06 Aug 2020 8:56 am
Minor issue but I did find GET /cumulusutils/lib/steelseries.min.js.map in nginx error log?
Not seen in the log file from today, yet?
Has to do with debugging steelseries. Not required if well configured.
Don't pay attention.

Re: For New Users

Posted: Thu 06 Aug 2020 7:25 pm
by rogerthn
Duizendmaal dank

Re: For New Users

Posted: Fri 07 Aug 2020 5:21 am
by HansR
Du är välkommen :)