| Author |
Message |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 27/04/2012 18:19:03
|
JNIEMI
Initiate
Joined: 27/04/2012 17:08:53
Messages: 18
Offline
|
Hello all,
Im fairly new to this mango thing and were situated in Southern Ontario.
Our objective is to use the envcands module to monitor and log barometric pressure for our locale.
Ive got the module installed...thats the easy part. The hard part is knowing what our "station ID" is. Were in Cambridge ON, which is close to Waterloo International Airport. I used their Climate ID (its a 7 digit number, the airport code and transport canada ID dont work because theyre not all numbers and have other characters like letters and hyphens in them) and it gives me the following errors:
13:05:20: 'EcoLab Env Data': org.xml.sax.SAXParseException: Premature end of file.
and when I click on the help, it says: "Document id not found: envcanDS" and "Document id not found: envcanPP"
Heres a screenshot:
Does anyone have any ideas on what to do about this? Has anyone come across this before?
Would anyone be willing to help me out? Please?
|
| Filename |
Error for envcands.png |
Download
|
| Description |
error for envcands |
| Filesize |
59 Kbytes
|
| Downloaded: |
61 time(s) |
|
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 27/04/2012 18:36:31
|
mlohbihler
Master
![[Avatar]](/forum/images/avatar/eccbc87e4b5ce2fe28308fd9f2a7baf3.png)
Joined: 01/03/2007 22:48:52
Messages: 1847
Offline
|
Hi Jonathan,
The station id can be found in the url when you choose a station from the Env Can web site. There is no documentation for this, so your confusion is justified.
If you go here: http://climate.weatheroffice.gc.ca/climateData/menu_e.html?Prov=ON, you can choose your city. On the resulting page you'll find the StationID parameter in the url. For example, the id for North Bay is 4201.
The error that you are receiving is likely due to the code trying to parse as XML content that is not XML.
|
Best regards,
Matthew Lohbihler |
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 27/04/2012 18:49:41
|
JNIEMI
Initiate
Joined: 27/04/2012 17:08:53
Messages: 18
Offline
|
That sounds great,
It worked partially too.
Does that "Document id not found: envcanDS" and "Document id not found: envcanPP" affect anything?
Im still not getting a reading...but that error stopped happening once I put in a valid station ID.
Thanks
|
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 27/04/2012 18:50:37
|
JNIEMI
Initiate
Joined: 27/04/2012 17:08:53
Messages: 18
Offline
|
NVM. it works. I jumped the gun.
|
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 27/04/2012 18:58:30
|
JNIEMI
Initiate
Joined: 27/04/2012 17:08:53
Messages: 18
Offline
|
What are the default units of Station Pressure?
Im getting 12.2...12.2 whats? kPa? millibar? what?
Thanks
|
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 27/04/2012 20:16:57
|
mlohbihler
Master
![[Avatar]](/forum/images/avatar/eccbc87e4b5ce2fe28308fd9f2a7baf3.png)
Joined: 01/03/2007 22:48:52
Messages: 1847
Offline
|
Appears to be kPa. See e.g.: http://climate.weatheroffice.gc.ca/climateData/hourlydata_e.html?timeframe=1&Prov=ONT&StationID=49908&hlyRange=2011-12-14|2012-03-26&Year=2012&Month=3&Day=25
|
Best regards,
Matthew Lohbihler |
|
|
 |
|
|