Here is another way to do this. If you want to see all of this in action before you do the following, go to my weather website at
http://tinyurl.com/WS62694 and click on NOAA REPORTS at the bottom.
I am going to use the example web address of
http://www.myweb.com/weather/ and
C:\Cumulus as the install directory for this. Your web host will also need to support PHP 5.
First, log into your website with your favorite FTP client. In the main directory where you have your weather files uploaded to with Cumulus, create a new sub directory (new folder) and call it
reports.
Now download pdirl from
http://pdirl.newroots.de/ and open the .ZIP file. Open the
pdirl-[VERSION#] folder within the .ZIP file. You will need to upload only these three folders/files to the reports directory you just created:
- .pdirl
- .htaccess
- index.php
Open Cumulus and click on CONFIGURATION>NOAA SETUP.
All you have do here is define the FTP directory. So for
http://www.myweb.com/weather/reports/, define it simply as
/weather/reports then click OK.
If you need to create NOAA Monthly and Annual Reports, you will need the monthly log files created by Cumulus to get all of the data. If you don't have these monthly log files, you can still create NOAA Reports but dayfile.txt will be used instead and you will be missing AVERAGE WIND SPEED and the determined DOMINANT DIRECTION.
To create the NOAA Monthly Reports, click on VIEW>NOAA MONTHLY REPORT. Select your first month and year then click the UPDATE DISPLAY button. If all the information is there, click the SAVE button and save the file in
C:\Cumulus\Reports and repeat for each month and year until you have all your NOAA Monthly Reports created. Click CLOSE when you are finished.
To create the NOAA Annual Reports, click on VIEW>NOAA ANNUAL REPORT. Select your first year then click the UPDATE DISPLAY button. If all the information is there, click the SAVE button and save the file in
C:\Cumulus\Reports and repeat for each year until you have all your NOAA Annual Reports created. Click CLOSE when you are finished.
With your FTP client, upload all of your NOAA Reports from C:\Cumulus\Reports to the reports directory you created.
That's it!
Now open
http://www.myweb.com/weather/reports/ and you can see your NOAA Reports. The NOAA Reports for the current month and year will be automatically updated whenever Cumulus starts recording a new day of weather data.
You can even create sub folders in the reports directory on your website for each year for better organization. If you do this, go back to the NOAA SETUP in Cumulus and add
/2013 to the end of the FTP Directory so it is
/weather/reports/2013 to allow your updated NOAA Reports to upload to the right place. Be sure to change this for each new year as needed.
Under each webpage for your weather data, you might want to add a link for your NOAA Reports. Just add this to the list of links for each T.htm webpage in C:\Cumulus\web:
Code: Select all
:<a href="/weather/reports/">noaa reports</a>: