Announcement

Collapse
No announcement yet.

Support for international forecasts?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Support for international forecasts?

    I am trialing mcsTemp at the moment, and seem to be having problems with fetching Forecasts.

    I am using: v3.30.1 of mcsTemp

    I have entered the following:
    ACCID: ASXX0354
    City: ParafieldAirport
    SubDivision: (this should be blank, but mcs puts in USA)
    Region: Australia/NewZealand
    Radar URL: http://mirror.bom.gov.au/radar/IDR463.gif

    When I force an update, I get the error:
    Item cannot be found in the collection corresponding to the requested name or ordinal.

    The getWeather log returns:

    [23/06/2003 8:04:06 PM]
    functionmakeWeatherObj(){

    this.swCity="ParafieldAirport";
    this.swSubDiv="";
    this.swCountry="Australia";
    this.swRegion="Australia/NewZealand";
    this.swTemp="49";
    this.swTempCel=Math.round((5/9)*(this.swTemp-32));
    this.swCIcon="";
    this.swWindS="5";
    this.swWindD="ENE";
    this.swBaro="30.20";
    this.swHumid="80";
    this.swReal="49";
    this.swUV="";
    this.swVis="";
    this.swLastUp="06/23/200303:00:00";
    this.swConText="";
    this.swFore="3|4|5|6|7|06/24/2003|06/25/2003|06/26/2003|06/27/2003|06/28/2003|39|39|39|12|11|29|19|29|18|14|60|62|63|60|61|30|50|30|6 0|50|11|29|11|12|11|14|4|13|18|13|45|46|49|50|51|";

    this.swAcid="ASXX0354";
    }


    Am I doing something wrong, or does mcsTemp only support forecasts for US cities?

    Many thanks
    David
    Adelaide, Australia

    #2
    Obtain the latest hspi_mcsTemperature.exe from the message board at the top of the 3.30 problems/features thread. It has some more info on GetWeather problems when errors occur.

    You did retrieve a record based upon the GetWeather log so your setup should generally be OK. I do not think the Subdivision is used anywhere so it should not matter.

    Comment


      #3
      Michael,

      I have downloaded and installed V4.0.5.

      That has fixed the error appearing in the HS log, however it doesnt seem like the reteived values are being written to the forecast table in the database.

      The values read from my Temp05 are being written to the temp table in the same database, so I know the DB file is OK.

      Any ideas?

      Many thanks
      David
      Adelaide, Australia

      Comment

      Working...
      X