My very-quick-no-research reply, I think you may want 
$current.windDir.ordinal_compass

Hopefully that gets Mr. Cheetah into doing what you want to do.


On Monday, September 3, 2018 at 1:38:16 PM UTC-4, Linda Eriksson wrote:
>
> I'm trying to make a sorta minimalistic skin for a tablet that will be 
> mounted on the wall. As it's an old 7", and I want as much relevant info as 
> possible at a glance, without it being cramped up, whilst still legible for 
> my parents without glasses, I'm trying to save space wherever it seems 
> reasonable.
> Currently, I have gotten stuck on an issue related to my inexperience with 
> real coding.
> I'm trying to use an image of an arrow for wind direction (well, 16 images 
> to be honest), thinking that if '$latest.windDir.ordinal_compass' 
> translates into say NNO, then I'll simply do <img 
> src="$latest.windDir.ordinal_compass.png"> and it will turn that into <img 
> src="NNO.png">. 
>
> It made perfect sense.. to me at least... but not to mr Cheetah Engine.... 
> It simply ignores my attempt to be smart, and spits out that there is no 
> such image as $latest.windDir.ordinal_compass.png
>
> Obviously I made something wrong, so basically, where did I do wrong? 
> Should it be doable and I simply have done it wrong, or am I going at it 
> totally wrong and need to do it in a completely different way?
>
>
>

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to