Le dimanche 6 août 2017 13:46:58 UTC+2, gjr80 a écrit :
>
> Hi,
>
> If the following line is what is in weewx_pws.xml then it indicates that 
> there is an error in the syntax of the $span tag in your template.
>
> <realtime><data 
>> realtime="minrain">$day_delta=900).rain.sum.formatted<!--dailyRain--></data></realtime>
>>
>
> Could you please post copies of:
>
> skins/PWS/weewx_pws.xml.tmpl
> skins/PWS/skin.conf
> the generated weewx_pws.xml
>
> Please attach the files in their entirety, do not copy one or two lines, 
> we need to see the entire files.
>
> Gary
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
############################################################################################
#                                                                               
           #
#                                                                               
           #
#                          WEEWX-WD PWS SKIN CONFIGURATION FILE                 
           #
#                                                                               
           #
# Version: 1.0.0                                                     Date: 10 
January 2015 #
#                                                                               
           #
############################################################################################

[Extras]

############################################################################################

[Units]

    #
    # This section is for managing the selection and formatting of units.
    #

    [[Groups]]
        #
        # For each group of measurements, this section sets what units to use 
for it.
        # NB: The unit is always in the singular. I.e., 'mile_per_hour', NOT 
'miles_per_hour'
        #
        group_altitude     = meter          # Options are 'foot' or 'meter'
        group_degree_day   = degree_C_day   # Options are 'degree_F_day' or 
'degree_C_day'
        group_direction    = degree_compass
        group_moisture     = centibar
        group_percent      = percent
        group_pressure     = hPa            # Weewx options are 'inHg', 'mmHg', 
'mbar', or 'hPa'
                                            # Saratoga templates expect 'inHg', 
'mbar', or 'hPa'
        group_radiation    = watt_per_meter_squared
        group_rain         = mm             # Weewx options are 'inch', 'cm', 
or 'mm'
                                            # Saratoga templates expect 'inch' 
or 'mm'
        group_rainrate     = mm_per_hour    # Weewx options are 
'inch_per_hour', 'cm_per_hour', or 'mm_per_hour'
                                            # Saratoga templates expect 
'inch_per_hour' or 'mm_per_hour'
        group_speed        = km_per_hour    # Options are 'mile_per_hour', 
'km_per_hour', 'knot', or 'meter_per_second'
        group_speed2       = km             # Options are 'mi', 'km'
        group_temperature  = degree_C       # Options are 'degree_F' or 
'degree_C'
        group_temperature2 = C              # Options are 'F' or 'C'
        group_uv           = uv_index
        group_volt         = volt

        # The following unit groups are used internally and should not be 
changed:
        group_count        = count
        group_interval     = minute
        group_time         = unix_epoch
        group_elapsed      = second

    [[StringFormats]]
        #
        # This section sets the string formatting for each type of unit.
        #
        centibar           = %.0f
        cm                 = %.2f
        cm_per_hour        = %.2f
        degree_C           = %.1f
        degree_F           = %.1f
        degree_compass     = %.0f
        foot               = %.0f
        hPa                = %.1f
        inHg               = %.3f
        inch               = %.2f
        inch_per_hour      = %.2f
        km_per_hour        = %.0f
        km_per_hour2       = %.1f
        knot               = %.0f
        knot2              = %.1f
        mbar               = %.1f
        meter              = %.0f
        meter_per_second   = %.1f
        meter_per_second2  = %.1f
        mile_per_hour      = %.0f
        mile_per_hour2     = %.1f
        mm                 = %.1f
        mmHg               = %.1f
        mm_per_hour        = %.1f
        percent            = %.0f
        uv_index           = %.1f
        volt               = %.1f
        watt_per_meter_squared = %.0f
        NONE               = "N/A"

    [[Labels]]
        #
        # This section sets a label to be used for each type of unit.
        #
        centibar          = " cb"
        cm                = " cm"
        cm_per_hour       = " cm/hr"
        degree_C          = " C"
        degree_F          = " F"
        degree_compass    =   &deg
        foot              = " feet"
        hPa               = " hPa"
        inHg              = " inHg"
        inch              = " in"
        inch_per_hour     = " in/hr"
        km_per_hour       = " km/h"
        km_per_hour2      = " km/h"
        knot              = " knots"
        knot2             = " knots"
        mbar              = " mbar"
        meter             = " meters"
        meter_per_second  = " m/s"
        meter_per_second2 = " m/s"
        mile_per_hour     = " mph"
        mile_per_hour2    = " mph"
        mm                = " mm"
        mmHg              = " mmHg"
        mm_per_hour       = " mm/hr"
        percent           = " %"
        volt              = " V"
        watt_per_meter_squared = " W/m²"
        NONE              = ""

     [[TimeFormats]]
        # This section sets the string format to be used for each time scale.
        # The values below will work in every locale, but may not look
        # particularly attractive. See the Customizing Guide for alternatives.

        day        = %X
        week       = %X (%A)
        month      = %x %X
        year       = %x %X
        rainyear   = %x %X
        current    = %x %X
        ephem_day  = %X
        ephem_year = %x %X

    [[Ordinates]]

        # The ordinal directions. The last one should be for no wind direction
        directions = N, NNE, NE, ENE, E, ESE, SE, SSE, S, SSW, SW, WSW, W, WNW, 
NW, NNW, N/A

    [[DegreeDays]]
        #
        # This section sets the base temperatures used for the calculation
        # of heating and cooling degree-days.
        #

        # Base temperature for heating days, with unit:
        heating_base = 18.3, degree_C
        # Base temperature for cooling days, with unit:
        cooling_base = 18.3, degree_C

    [[Trend]]
        time_delta = 3600  # 1 hour
        time_grace = 300   # 5 minutes

############################################################################################

[Labels]

    #
    # Generic labels
    #

    # Set to hemisphere abbreviations suitable for your location:
    hemispheres = N, S, E, W

    [[Generic]]
        #
        # Generic labels, keyed by an observation type.
        #
        barometer      = Barometer
        dewpoint       = Dew Point
        heatindex      = Heat Index
        inHumidity     = Inside Humidity
        inTemp         = Inside Temperature
        outHumidity    = Outside Humidity
        outTemp        = Outside Temperature
        radiation      = Radiation
        rain           = Rain
        rainRate       = Rain Rate
        rxCheckPercent = ISS Signal Quality
        windDir        = Wind Direction
        windGust       = Gust Speed
        windGustDir    = Gust Direction
        windSpeed      = Wind Speed
        windchill      = Wind Chill
        windgustvec    = Gust Vector
        windvec        = Wind Vector
        cloudBase      = Cloud Base
        forecastRule   = Forecast

        # Weewx-WD observation labels
        humidex        = Humidex Temperature
        appTemp        = Apparent Temperature

############################################################################################

[Almanac]

    # The labels to be used for the phases of the moon:
    moon_phases = New, Waxing crescent, First quarter, Waxing gibbous, Full, 
Waning gibbous, Last quarter, Waning crescent

############################################################################################

[CheetahGenerator]

    #
    # This section is used by the generator CheetahGenerator, and specifies 
which
    # files are to be generated from which template.
    #

    search_list_extensions = 

    encoding = utf8   # Possible encodings are 'html_entities', 'utf8', or 
'strict_ascii'

    [[ToDate]]
        #
        # Reports that show statistics "to date", such as day-to-date,
        # week-to-date, month-to-date, etc.
        #

        # Pocket Weather Station XML data file
        [[[PWS]]]
            template = weewx_pws.xml.tmpl

############################################################################################

[CopyGenerator]

    #
    # This section is used by the generator CopyGenerator
    #

    # List of files that are to be copied at the first invocation of the 
generator only
    copy_once = 
    
    # List of files to be copied every time:
    # copy_always = 
        

############################################################################################

#
# The list of generators that are to be run:
#
[Generators]
        generator_list = weewx.cheetahgenerator.CheetahGenerator

Attachment: weewx_pws.xml
Description: XML document

Attachment: weewx_pws.xml.tmpl
Description: Binary data

Reply via email to