Posible conflicto entre Unidades y Local

32 views
Skip to first unread message

Miguel

unread,
Aug 23, 2025, 1:37:38 PMAug 23
to weewx-user
Buenas tardes,

Me he encontrado con que al establecer en Seasons Report la variable lang = es_ES.utf8 el informe no se genera en las unidades metric con las modificaciones introducidas en Groups.
Por ejemplo la presión se debería informar en hPa en lugar de mbar.
Adjunto archivo de configuración e imagen del informe.

Agradecería pudiesen revisarlo por si fuera un fallo del programa.
Muchas gracias.


Screenshot 2025-08-23 at 19-22-39 Navarredondilla.png
weewx.info

michael.k...@gmx.at

unread,
Aug 23, 2025, 1:50:18 PMAug 23
to weewx-user
¿En qué archivo has cambiado la etiqueta para la presión? 

¿Has leído la documentación aquí?

Miguel

unread,
Aug 23, 2025, 1:57:14 PMAug 23
to weewx-user
Se puede ver en el archivo adjuntado previamente.
Incluye extracto.

[[Defaults]]
       
        # Which language to use for all reports. Not all skins support all
        # languages.  You can override this for individual reports.
        lang = en
       
        # Which unit system to use for all reports. Choices are 'us', 'metric',
        # or 'metricwx'.  You can override this for individual reports.
        unit_system = metric
       
        [[[Units]]]
           
            # Option "unit_system" above sets the general unit system, but
            # overriding specific unit groups is possible. These are popular
            # choices. Uncomment and set as appropriate.  The unit is always
            # in the singular, e.g., 'mile_per_hour', NOT 'miles_per_hour'
            [[[[Groups]]]]
                # group_altitude     = meter              # Options are 'foot' or 'meter'
                group_pressure = hPa    # Options are 'inHg', 'mmHg', 'mbar', or 'hPa'
                group_rain = mm    # Options are 'inch', 'cm', or 'mm'
                group_rainrate = mm_per_hour    # Options are 'inch_per_hour', 'cm_per_hour', or 'mm_per_hour'
                # group_temperature  = degree_C           # Options are 'degree_C', 'degree_F', or 'degree_K'
                # The following line is used to keep the above lines indented
                # properly. It can be ignored.
                unused = unused
 
Reply all
Reply to author
Forward
0 new messages