1 .edu



Got an error when I was trying to add location to the group using the command given.

Below is the right command

python tools.py add_location -n “Test Location 1” -s tl1 -g tg1 --lat 34.0 --lon -107.0 --ele 1704.0 --tzoffset -7

The multi-character options (lat, lon, ele, tzoffset) should have a -- instead of a - preceding it.  The mistake is in the documentation.  Word combined -- into - automatically.

1. I was not able to view the data() in the web browser using IE

Avoid opening the .csv files in anything but a basic text editor

And open the link using Firefox or chrome rather than IE

2. I set up the new database "McMinnville" and set up a location group "Test Group 1" and added a Forecast location Test Location 1. I am having trouble viewing the results in the browser

open your stations.csv file in a text editor and delete all the contents. Then go back to the command line and try this command:

python tools.py add_location -n Test_Location_1 -s tl1 -g tg1 --lat 35.71 --lon -85.74 --ele 839 --tzoffset -6

3. In which location will the weather data be stored in the system?

The data will be stored in the data// directory, where year is the report timestamp year value for the data. In the directory, there will be an hourly and daily file for each location.

Don't run the program too close to midnight. If the program is still running after midnight, the data for the locations that haven't been processed will be skewed by one extra day.

In the settings.py file in the web directory, there is a setting called MAP_CENTER = (-105.6, 34.5). That sets the center of the map on the web interface to the given lat, lon location. Change the values of that setting to where you want the map to be centered for your needs.

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download