Humidex N/A

107 views
Skip to first unread message

Invisible Man

unread,
Jul 20, 2023, 4:39:06 PM7/20/23
to weewx-user
Hi,

My weather station has both current temperature and current humidity, but it continuously displays N/A for humidex (or is it heat index) ?

My template uses this:
```
Humidex: $current.heatindex
```
and my `skin.conf` translates heatindex to Humidex:
```
    [[Generic]]
        # Generic labels, keyed by an observation type.
barometer      = Barometre
        dewpoint       = Point de rosee
        heatindex      = Humidex
```
I'm not sure I'm doing the right thing.
If I query the database :

```
sqlite> select barometer, pressure,outTemp,outHumidity,heatindex from archive where dateTime = 1689884400;
1010.28419008758|998.764391620552|24.8333333333333|93.0|<select heatindex from archive where dateTime = 1689884400;
```
Notice I do have values for everything except heatindex (no value).
Why don't I have any value? How can I enable it?

Thanks

PS. I'm using Weewx 4.10.2 on a RPi.


Tom Keffer

unread,
Jul 20, 2023, 7:12:43 PM7/20/23
to weewx...@googlegroups.com
For most weather stations, heat index is a derived quantity, so it must be calculated in software.

What kind of hardware?

What version of WeeWX are you using?

What is in the section [StdWXCalculate] in weewx.conf?

-tk



--
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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/b47986e2-ae87-41c7-89c3-032447c75e59n%40googlegroups.com.

Invisible Man

unread,
Jul 23, 2023, 7:07:41 AM7/23/23
to weewx-user
Hello Tom,

I am using an EcoWitt HP2551 (station_type = Interceptor) and WeeWx 4.10.2
In StdWXCalculate I have the following: I see that heat index is expected to be provided by my hardware (which obviously doesn't). I suppose I can just change that to software, or prefer_hardware?

```
[StdWXCalculate]
    [[Calculations]]
        # Derived quantities are calculated by this service.  Possible values are:
        #  hardware        - use the value provided by hardware
        #  software        - use the value calculated by weewx
        #  prefer_hardware - use value provide by hardware if available,
        #                      otherwise use value calculated by weewx
       
        pressure = prefer_hardware
        barometer = prefer_hardware
        altimeter = prefer_hardware
        windchill = hardware
        heatindex = hardware
        dewpoint = prefer_hardware
        inDewpoint = prefer_hardware
        rainRate = hardware
        maxSolarRad = prefer_hardware
        cloudbase = prefer_hardware
        humidex = prefer_hardware
        appTemp = prefer_hardware
        ET = prefer_hardware
        windrun = prefer_hardware
```

Thanks,
Axelle

Tom Keffer

unread,
Jul 23, 2023, 7:59:23 AM7/23/23
to weewx...@googlegroups.com
Yes. If you specify 'hardware', then WeeWX will not calculate it at all. It depends on the value being supplied by the hardware.

Usually you want "prefer_hardware". Same with the other calculations. I would change them all.

Invisible Man

unread,
Jul 23, 2023, 12:35:34 PM7/23/23
to weewx-user
yes, that's what I did, and it works just great. IMHO, the default option should be "prefer_hardware" for everything. That should normally suit nearly all situations.

-- Axelle.

Tom Keffer

unread,
Jul 23, 2023, 8:46:31 PM7/23/23
to weewx...@googlegroups.com

Invisible Man

unread,
Jul 24, 2023, 4:13:35 PM7/24/23
to weewx-user
oh ok strange then. I must have changed it one day and forgot about it...
Reply all
Reply to author
Forward
0 new messages