Windy Community
    • Unread
    • Categories
    • Groups
    • Go to windy.com
    • Register
    • Login

    Sun position plugin

    Windy Plugins
    19
    52
    28.1k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Gkikas LGPZG
      Gkikas LGPZ Moderator @jacobsjo
      last edited by

      @jacobsjo
      A question: at noon I see the azimuth at zero degrees. Is it correct?

      73b353e6-5c31-4e0c-aafd-20adba3ad241-εικόνα.png

      I thought the azimuth defined as
      a horizontal angle measured clockwise from the north
      not from the local meridian.

      Gkikas LGPZG idefix37I 2 Replies Last reply Reply Quote 1
      • Gkikas LGPZG
        Gkikas LGPZ Moderator @Gkikas LGPZ
        last edited by

        ... a second thought ... are you in the southern hemisphere?

        1 Reply Last reply Reply Quote 0
        • idefix37I
          idefix37 Sailor Moderator @Gkikas LGPZ
          last edited by idefix37

          @Gkikas-LGPZ
          It could be because in Astronomy the azimuth may refer to the South, instead of North (but I am not an astronomy specialist). The South reference was used in former times, but today this is not clear because sometime it refers to North and sometime still to South....
          https://en.m.wikipedia.org/wiki/Azimuth
          -See Astronomy section-
          With this plugin if you take a point far in south hemisphere at near 12:00Z, you see the azimuth of the sun close to 180°. It varies from 180° to -180°, not from 0° to 360°, as shown in this example (-172°):
          https://community.windy.com/topic/9017/sun-position-plugin/5
          So it’s different from what is used in navigation technic.

          Gkikas LGPZG 1 Reply Last reply Reply Quote 1
          • Gkikas LGPZG
            Gkikas LGPZ Moderator @idefix37
            last edited by

            @idefix37 I think this makes things clearer
            https://en.wikipedia.org/wiki/Solar_azimuth_angle

            idefix37I 1 Reply Last reply Reply Quote 1
            • idefix37I
              idefix37 Sailor Moderator @Gkikas LGPZ
              last edited by idefix37

              @Gkikas-LGPZ
              This is the best link that explains this convention.
              BTW in traditional astronavigation or celestial navigation, the solar azimuth is measured from the north...

              1 Reply Last reply Reply Quote 1
              • OilyanO
                Oilyan | Premium
                last edited by

                Dear jacobsjo,
                I am trying to install sun position plugin, but despite it says that plugin was installed, it does not appear menu. i tried it on my laptop (windows) and iPhone. Do you have an idea what might be the problem?
                Thanks!
                Olga

                1 Reply Last reply Reply Quote 0
                • vsinceacV
                  vsinceac | Premium
                  last edited by

                  I tried too, and it appears it only works on dektop as one-shot action, i.e. only when left panel info is displayed (screenshot); on closing left panel, next click on map returns usual results...
                  713f4a25-8b9b-4abc-b488-13b71bd5b5a4-image.png

                  ¯\_(ツ)_/¯

                  1 Reply Last reply Reply Quote 1
                  • jacobsjoJ
                    jacobsjo Photographer | Premium
                    last edited by

                    @Oilyan @vsinceac I'm not sure what the problem is. I just tried it again and for me, it still works for me (both on PC and on mobile). You should be able to find the option to open it in the context menu (right-click on the map on PC; long tap on the map on mobile). You can move the picker afterward as well, just make sure not to clock on a city label as that opens the weather forecast and closes the plugin pane.

                    1 Reply Last reply Reply Quote 1
                    • R
                      rainbowsunshine
                      last edited by

                      Hello

                      Am I right in thinking this doesn't work on the iPhone app?
                      I went to www.windy.com/plugins on my phone browser and searched for windy-plugin-sun-position, then installed it, but when I log in on the browser it switches to the app since I am already logged in there. On my app the plugin doesn't appear anywhere.

                      Would appreciate any ideas. Thank you

                      rittelsR 1 Reply Last reply Reply Quote 0
                      • rittelsR
                        rittels Code contributor @rainbowsunshine | Premium
                        last edited by

                        @rainbowsunshine

                        The plugins are not available in the App.

                        They are available in a mobile browser (chome or safari). Type or paste: https://www.windy.com/plugins/windy-plugin-sun-position in the address bar.

                        (With the most recent Windy app update on iOS, the app diverts the windy.com/plugins to the browser, really cool. Unfortunately it does not seem to work on Android yet)

                        1 Reply Last reply Reply Quote 0
                        • jacobsjoJ
                          jacobsjo Photographer | Premium
                          last edited by

                          I have just released version 0.3.2 of the plugin. The plugin was broken because the pluginDataLoader changed. I only used the pluginDataLoader for a timezone lookup. As that wasn't a good solution anyway I am now using the tz-lookup package instead. So hopefully it wont break as easily in the future.

                          Furthermore this update makes use of the query string: For example you can now directly open https://www.windy.com/plugins/windy-plugin-sun-position?photoSun=true&astroSun=false&moon=false to get only photography sun details.

                          rittelsR 1 Reply Last reply Reply Quote 2
                          • rittelsR
                            rittels Code contributor @jacobsjo | Premium
                            last edited by rittels

                            @jacobsjo

                            Thanks. Maybe a bug? Should golden hour not come after sunrise?

                            1 Reply Last reply Reply Quote 0
                            • jacobsjoJ
                              jacobsjo Photographer | Premium
                              last edited by jacobsjo

                              @rittels

                              No, the golden hour is defined as sun elevations between 6 degrees above and 4 degrees below the horizon. So the golden hour does start before the sunset and also continues until after sunrise. The entire time range in orange is the Golden Hour. Also, in very high latitudes the entire day might be "golden hour" as the sun never reaches higher than 6 degrees above the horizon.

                              (Also see the screenshot in the original post, it was always this way ;) )

                              rittelsR 1 Reply Last reply Reply Quote 0
                              • rittelsR
                                rittels Code contributor @jacobsjo | Premium
                                last edited by

                                @jacobsjo Thanks!

                                1 Reply Last reply Reply Quote 0
                                • F
                                  Fabi_Zwerger | Premium
                                  last edited by

                                  pls give me this plugin

                                  KorinaK 1 Reply Last reply Reply Quote 0
                                  • KorinaK
                                    Korina @Fabi_Zwerger
                                    last edited by

                                    @fabi_zwerger Hello, this plugin is available on Windy.com under plugins category.

                                    Korina

                                    1 Reply Last reply Reply Quote 0
                                    • gortahorkG
                                      gortahork @jacobsjo | Premium
                                      last edited by

                                      @jacobsjo
                                      This is fabulous! thank you very much.

                                      1 Reply Last reply Reply Quote 0
                                      • J
                                        JHMARSHAL
                                        last edited by

                                        hi the sun position does not work .why? can some one tell me how to fix it pls

                                        idefix37I 1 Reply Last reply Reply Quote 0
                                        • idefix37I
                                          idefix37 Sailor Moderator @JHMARSHAL
                                          last edited by idefix37

                                          @jhmarshal
                                          This is surely due to this change:
                                          https://community.windy.com/topic/16811/plugin-developers-stay-alert-we-are-refactoring-windy-com-client-codes-to-typescript?_=1637686473652

                                          And this plugin has probably not been updated by its author.

                                          jacobsjoJ 1 Reply Last reply Reply Quote 0
                                          • jacobsjoJ
                                            jacobsjo Photographer @idefix37 | Premium
                                            last edited by

                                            @idefix37 @JHMARSHAL Sorry about that. I haven't kept track of windy the updates. I'll fix the plugin when I find the time to do so (hopefully soon).

                                            J 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Windyty, S.E. - all rights reserved. Powered by excellent NodeBB
                                            NodeBB & contributors, OSM & contributors, HERE maps
                                            Terms of Use     Privacy Policy