willasm / vc-weather

MIT License
16 stars 0 forks source link

precipitation probability question #7

Closed htmljenn closed 1 month ago

htmljenn commented 1 month ago

Hi, I'm using the %precipprob% and %precipprob-in1day% templates in my fields. And while the in1day one seems to be working correctly, the daily one only ever gives me 0% except for the day it was actually raining right at the moment I called the script. Then it gave me 100%.

When I checked with the Visual Crossing weather data directly for today, it said the precipprob was 8, not 0.

I"m wondering if %precipprob% is accidentally pointing to a more specific measure like current precipitation or precipitation cover, rather than the probability it will rain today. Or if I'm not understanding what that value represents.

willasm commented 1 month ago

Try using %precipprobtoday% instead. That will give you the pop for the whole day rather than what is happening right now.

htmljenn commented 1 month ago

That worked perfectly. Thanks!

willasm commented 1 month ago

Thank you for letting me know. The plugin is just waiting for final approval by Obsidian and should hopefully be added to the community plugins soon.

Thanks, William.