This is the way ConfigObj
<https://configobj.readthedocs.io/en/latest/configobj.html> works. An
option is a member of the section above it.

Also, see the section *Options
<http://weewx.com/docs/customizing.htm#How_options_work>* in the
Customizing Guide, in particular the paragraph that starts "Configuration
files are read..."

On Wed, Feb 15, 2023 at 10:30 AM [email protected] <
[email protected]> wrote:

>
> Thanks Tom! So this is something with the way the config works in general
> or specific to weewx? Do the "attributes" (or however the correct terminus
> technicus is in this context) always have to appear before the next
> [[[]]]]-Level?
> Tom Keffer schrieb am Mittwoch, 15. Februar 2023 um 15:59:43 UTC+1:
>
>> Yes, it is possible, but you have the options in the wrong spot. You want
>>
>>         #will be 700x500
>>         [[[daytempdew]]]
>>           image_width = 700
>>           image_height = 500
>>           [[[[outTemp]]]]
>>           [[[[dewpoint]]]]
>>
>> The dimensions must be under the image name "daytempdew", not the
>> observation type "dewpoint".
>>
>>
>>
>> On Wed, Feb 15, 2023 at 6:53 AM [email protected] <[email protected]>
>> wrote:
>>
>>> Hi all,
>>>
>>> I wanted to know if it is possible to configure different image sizes
>>> per image, something like:
>>>
>>> [ImageGenerator]
>>>     image_width = 350
>>>     image_height = 250
>>>     [[day_images]]
>>>         x_label_format = %H:%M
>>>         bottom_label_format = %x %X
>>>         time_length = 97200 # 27 hours
>>>
>>>         #will bee 350x250
>>>         [[[daybarometer]]]
>>>            [[[[barometer]]]]
>>>
>>>         #will be 700x500
>>>         [[[daytempdew]]]
>>>           [[[[outTemp]]]]
>>>           [[[[dewpoint]]]]
>>>           image_width = 700
>>>           image_height = 500
>>>
>>> --
>>> 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/7543d268-18eb-4abc-b405-ae10e5224d72n%40googlegroups.com
>>> <https://groups.google.com/d/msgid/weewx-user/7543d268-18eb-4abc-b405-ae10e5224d72n%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/d48e00ea-15b5-4361-8916-effe94698b92n%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/d48e00ea-15b5-4361-8916-effe94698b92n%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/CAPq0zEBx6KpQpLtcsYuCgL2t%3DqdLMweteQUpPUjYW6HmH1ovhQ%40mail.gmail.com.

Reply via email to