ENVIRONMENT CANADA MODULE
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?
Attachment: download link
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.
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.
NVM. it works. I jumped the gun.
What are the default units of Station Pressure?
Im getting 12.2...12.2 whats? kPa? millibar? what?