Software > WeeWX
Presión demasiado baja en la consola
Telares:
¿Será esto?:
[StdConvert]
# The target_unit affects only the unit system in the database. Once
# chosen it cannot be changed without converting the entire database.
# Modification of target_unit after starting weewx will result in
# corrupt data - the database will contain a mix of US and METRIC data.
#
# The value of target_unit does not affect the unit system for
# reporting - reports can display US, Metric, or any combination of units.
#
# In most cases, target_unit should be left as the default: US
#
# In particular, those migrating from a standard wview installation
# should use US since that is what the wview database contains.
# DO NOT MODIFY THIS VALUE UNLESS YOU KNOW WHAT YOU ARE DOING!
target_unit = US # Options are 'US', 'METRICWX', or 'METRIC'
B.Santiago:
En mi opinión, las unidades deberían estar en Metric, y no en US
Y desde luego, la altitud, no en pies ni en pulgadas, sino en metros.
Alguno pasará por aquí que sepa decirte cómo se pone lo que te digo. Lamento no saber hacerlo yo.
Wlarues:
Hmm, yo creo que lo del grupo [[[Units]]] es para que por defecto en tu página web los valores salgan en esas unidades, mientras que lo de [StdConvert] se utiliza en la base de datos y cálculos de las magnitudes.
Sin embargo, al indicarle la altitud, como has puesto:
--- Código: ---# Altitude of the station, with unit it is in. This is downloaded from
# from the station if the hardware supports it.
altitude = 940, meter
--- Fin del código ---
Debería respetar que es en esas unidades, aunque la base de datos trabaje en unidades imperiales...
Por probar, puedes transformar la altitud a pies (por ejemplo), e indicarlo en ese campo.
Sí que sería bueno que trabajaras con unidades métricas, sobre todo porque luego es más cómodo cuando tengas que corregir datos. Aunque además de cambiar a estas unidades, tendrías que modificar los valores de la base de datos (o eliminarla, si pierdes muy pocos). Se puede hacer bien trabajando con copias de seguridad e instrucciones SQL.
Por cierto, al cambiar la sección [StdCalibrate], ha cambiado algo?
Telares:
Pues lleva desde entonces la corrección + 10 y lejos de subir la presión:
jmviper:
Prueba a ponerle el offset a pressure en [StdCalibrate]. Quedaría así:
--- Código: ---# This section can adjust data using calibration expressions.
[StdCalibrate]
[[Corrections]]
# For each type, an arbitrary calibration expression can be given.
# It should be in the units defined in the StdConvert section.
# Example:
foo = foo + 0.2
pressure = pressure + 10
--- Fin del código ---
Según has puesto en tu caso. Weewx coge la absoluta de la consola en las FineOffset y no la relativa.
Saludos
Navegación
[#] Página Siguiente
[*] Página Anterior
Ir a la versión completa