There is no master list of all the database variables.

However, there are some comments about rain in the section *Porting to new
hardware* <http://www.weewx.com/docs/customizing.htm#porting> of the
Customizing Guide. In particular, the field 'rain' should be the amount of
rain that fell *during the period*. That is, if it's LOOP packets, it's the
amount of rain that fell since the last LOOP packet, *not*, for example,
the amount of rain for the day.

I suspect your field rain_mm is the amount of rain that has fallen since
midnight. As explained in the porting guide, you'll have to take deltas of
that field to get the field rain.

So, to answer your questions:

rain_mm => If this is rain since midnight, it should be mapped to dayRain,
which is not in the standard database schema, but is used by some
uploaders.
temperature_C => outTemp. Correct.
humidity => outHumidity. Correct.

wind_avg_km_h => There is no field for averages. It's calculated by WeeWX
when needed.
wind_max_km_h => Field windGust
wind_dir_deg => Field windDir

Please read the porting guide. Make sure your driver emits packets using a
consistent unit system. The unit system used by the database doesn't
matter. Incoming data will be converted automatically.

-tk



On Tue, Jan 12, 2021 at 2:11 PM [email protected] <[email protected]> wrote:

>
> Also, a second question:
>
> My station is reporting "0.6" in "rain_mm" field. It's a very light rain
> now. I'm not sure if this is for the last hour or last 15 minutes.
> The thing is that database is clean and in report generate, this is what
> i'm getting for rain:
>
> Rain Rate 88.8 mm/h
> Rain Today 36.0 mm
>
>
> What am I missing?
>
> My units are set (globally in weewx.config) to METRIC.
>
> Em terça-feira, 12 de janeiro de 2021 às 18:50:23 UTC-3, [email protected]
> escreveu:
>
>> Is there any list of fields and what it means in docs?
>>
>> I have some fields in my station but I'm not sure which field should be
>> mapped to which field in DB.
>>
>> rain_mm => Currently mapped to 'rain'
>> temperature_C => outTemp
>> humidity => outHumidity
>>
>> wind_avg_km_h => not mapped, I'm not sure which is the correct field in DB
>> wind_max_km_h => not mapped, I'm not sure which is the correct field in DB
>> wind_dir_deg => not mapped, I'm not sure which is the correct field in DB
>>
>>
>> I'm not an expert, so I don't have idea if I should use wind_avg_km_h for
>> windSpeed, for example.
>>
>> I'm sorry if it's a dumb question.
>>
> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/ad3fe2f1-b6a6-4fc3-a2ce-23389815d8a0n%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/ad3fe2f1-b6a6-4fc3-a2ce-23389815d8a0n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAPq0zECT8PtFNwTi6Zjv2EoFA%2BHV-Hccntt3HJv_MpfGYN08qQ%40mail.gmail.com.

Reply via email to