• Recent
    • Tags
    • Popular
    • Register
    • Login

    Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.

    Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website Mango 5 Documentation Website

    ENVIRONMENT CANADA MODULE

    How-To
    2
    7
    3.1k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      JNIEMI
      last edited by

      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?

      Attachment: download link

      1 Reply Last reply Reply Quote 0
      • M
        mlohbihler
        last edited by

        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

        1 Reply Last reply Reply Quote 0
        • J
          JNIEMI
          last edited by

          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

          1 Reply Last reply Reply Quote 0
          • J
            JNIEMI
            last edited by

            NVM. it works. I jumped the gun.

            1 Reply Last reply Reply Quote 0
            • J
              JNIEMI
              last edited by

              What are the default units of Station Pressure?

              Im getting 12.2...12.2 whats? kPa? millibar? what?

              Thanks

              1 Reply Last reply Reply Quote 0
              • M
                mlohbihler
                last edited by

                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

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post