NOAA: Difference between revisions

From Cumulus Wiki
Jump to navigationJump to search
665 bytes added ,  28 April 2021
Through the menu the year and month is selected and from those values the report filename is constructed and displayed. If ''StartInCurrentMonth'' is true the month report of the current month is displayed otherwise the year report of the current year is shown. The colours and the formatting of the reports is taken from a ''beteljuice'' formatting which wondered around somewhere. The colours can be changed.
 
The directory where the reports can be found must be the directory where ''CumulusMX'' stores the reports. Because ''CumulusUtils'' can be in a totally different location than e.g. the main website of the user, the NOAA report location has to be specified ''explicitly'' in the inifile parameter ''FTPDirectory'' of the NOAA section.
 
The first thing you need to check is whether the reports are actually copied to the website by CMX because that is the most important thing. In CMX you define a directory and CMX copies the reports there. If that is not the case you must work in CMX until that is the case.
 
Then, once the reports are on the website directory somewhere in or below the webroot, you should be able to view them in the CumulusUtils website. In the NOAA section of the CumulusUtils inifile you find a parameter FTPDirectory which is where CMX stores the reports. It actually must be the relative location to the webroot. So if your directory by CMX is [i]/public_html/reports/[/i] (FTP directory) in Cutils that becomes: [i]./reports/[/i] because - sorry for this confusion which exists for historic reasons - in Cutils the reports are actually fetched in HTML context which means it starts from the webroot.
 
[[Category:CumulusUtils]]

Navigation menu