Autor Tema: Velocidad viento  (Leído 3680 veces)

0 Usuarios y 1 Visitante están viendo este tema.

Desconectado coconut223

  • Newbie
  • *
  • Mensajes: 26
    • Ver Perfil
  • Estación: Alanís ESAND4100000041380A
Velocidad viento
« en: 12 de Agosto del 2016, 18:23:13 pm »
Veo que al crear la plantilla con weewx siempre pone menos velocidad del viento que en la consola de la estacion. Ademas en otros sitios como en wunderground la velocidad es siempre superior. Lo podeis ver aqui https://www.wunderground.com/cgi-bin/findweather/getForecast?query=39.41322327,3.20037317&sp=IFELANIT13 ¿Porque puede se?
Saludos

Desconectado jantoni

  • Investigación
  • Hero Member
  • ******
  • Mensajes: 3.794
    • Ver Perfil
  • Estación: ESMAD2800000028522A
Re:Velocidad viento
« Respuesta #1 en: 12 de Agosto del 2016, 19:30:56 pm »
Porque estás usando metros por segundo para la velocidad.

Si no se lo indicas a Meteoclimatic, el entiende que le estás mandando 5,8 Kmph

Desconectado coconut223

  • Newbie
  • *
  • Mensajes: 26
    • Ver Perfil
  • Estación: Alanís ESAND4100000041380A
Re:Velocidad viento
« Respuesta #2 en: 12 de Agosto del 2016, 20:13:47 pm »
Dondo puedo cambiar ese. Parámetro?

Desconectado jantoni

  • Investigación
  • Hero Member
  • ******
  • Mensajes: 3.794
    • Ver Perfil
  • Estación: ESMAD2800000028522A
Re:Velocidad viento
« Respuesta #3 en: 13 de Agosto del 2016, 07:49:15 am »
Depende de si solo lo quieres cambiar en la plantilla o en todo el skin.


Desconectado jantoni

  • Investigación
  • Hero Member
  • ******
  • Mensajes: 3.794
    • Ver Perfil
  • Estación: ESMAD2800000028522A
Re:Velocidad viento
« Respuesta #4 en: 13 de Agosto del 2016, 08:44:02 am »
Si lo quieres modificar parta todo weewx, tenemos que editar weewx.conf y skin.conf

En weewx.conf, comentaremos (poner #) la sección de Units

Citar
    [[StandardReport]]
        # See the customizing guide to change the units, plot types and line
        # colors, modify the fonts, display additional sensor data, and other
        # customizations.  Many of those changes can be made here by overriding
        # parameters, or by modifying templates within the skin itself.

        # The StandardReport uses the 'Standard' skin, which contains the
        # images, templates and plots for the report.
        skin = Standard

#    #[[[Units]]]
    #    [[[[Groups]]]]
    #        group_altitude = meter
    #        group_speed2 = meter_per_second2
    #        group_pressure = mbar
    #        group_rain = mm
    #        group_rainrate = mm_per_hour
    #        group_temperature = degree_C
    #        group_degree_day = degree_C_day
    #        group_speed = meter_per_second


Y en skin.conf definiremos las unidades.

Citar
[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                 # Options are 'inHg', 'mmHg', 'mbar', or 'hPa'
        group_radiation    = watt_per_meter_squared
        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_speed        = km_per_hour        # Options are 'mile_per_hour', 'km_per_hour', 'knot', or 'meter_per_second'
        group_speed2       = km_per_hour2       # Options are 'mile_per_hour2', 'km_per_hour2', 'knot2', or 'meter_per_second2'
        group_temperature  = degree_C             # Options are 'degree_F' or 'degree_C'
        group_uv           = uv_index
        group_volt         = volt

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

Desconectado coconut223

  • Newbie
  • *
  • Mensajes: 26
    • Ver Perfil
  • Estación: Alanís ESAND4100000041380A
Re:Velocidad viento
« Respuesta #5 en: 13 de Agosto del 2016, 16:06:03 pm »
Solucionado Muchas gracias  jantoni
 apla3 apla3 apla3