Comments (8)
Just a small note: Not all countries use the Astronomical Seasons as you've provided here, which rely on the start and end of seasons based on the Solstice and Equinox.
For example, there's the Meteorological Seasons, where seasons fall on neat month groupings that is based on the average temperatures throughout the year. For example the Australian observed seasons are:
Season | Northern Months | Southern Months |
---|---|---|
Spring | March, April, May | September, October, November |
Summer | June, July, August | December, January, February |
Autumn | September, October, November | March, April, May |
Winter | December, January, February | June, July, August |
As brought up by @RohanJnr, Meteorological seasons rely on the local weather/temperature patterns throughout the year, each country may vary accordingly, and this may be something we cannot account for entirely. A good example to compare the above sample against is the seasons observed by India.
Chinese cultures also have another system, often called the Solar Seasons, which is like a mix of the two. It has an everyday-usage of neat month groupings, but based on the solstice and equinox dates to signify the three darkest months for winter, and three most sun-filled for summer.
Season | Northern Months | Southern Months |
---|---|---|
Spring | March, April, May | September, October, November |
Summer | June, July, August | December, January, February |
Autumn | September, October, November | March, April, May |
Winter | December, January, February | June, July, August |
However, this system is the generalised everyday usage version of the Chinese seasons. They also have more detailed 24-term solar seasonal calendar. The terms consist of 12 pairs major and minor terms.
As you can see, the Start of Summer term is signified on the top right, and Start of Autumn is signified on the bottom right, splitting the year cleanly into a quarter, with the Summer Solstice marking a clear middlepoint. This is where the general usage comes from.
In the case that such a feature does get developed into the Evergreen cog, I hope that we provide all three of these systems in the output, not just Astronomical seasons, as we would want to avoid disregarding any portion of our members.
from sir-lancebot.
So I see that this was approved in Feb of last year, but was there an agreed implementation method?
There would be a command named "season" with options for astronomical, meteorological, and solar seasons. If no options are passed, what should the default response be? Should there also be a North / South hemisphere check or just default to sending both?
Just trying to wrap my head around what could be done and what the result will be.
User Input
.season <optional season: astro, meteor, solar : default astro?> <optional hemispehere: north, south: default north?>
Bot Response
Based on user input of .season astro north
The current astronomical season in the Northern Hemisphere is Summer. The next season Fall will start in 19 days on 22 September.
The autumnal equinox is on 22 September. The December solstice is on 21 December. More information for equinoxes and solstices can be found here:
Equinox - Solstice
from sir-lancebot.
Hi! I would like to work on this! For the solar/chinese system, I guess that it is just the opposite for the southern hemisphere like with the other seasons?
from sir-lancebot.
@brad90four Hi! I would like to work upon this issue. Please assign it to me.
Thank You!
from sir-lancebot.
Tagging @Xithrius , any issues with assigning this to @parth-verma7 ?
from sir-lancebot.
I have no objections.
from sir-lancebot.
@parth-verma7 What is the plan for implementation here given the previous discussion? As seasons work differently in different places, what type will be used? Will an API need to be used to get the necessary information?
from sir-lancebot.
@wookie184 I could not find any api for seasons .
My way:
i) Extract country.
ii) Extract the current time zone.
iii) Return the time zone from some database in which all the seasons vs country are stored.
I have attached a sample image, please have a look.
from sir-lancebot.
Related Issues (20)
- Using `imsosorry` for uwuification HOT 1
- AttributeError: 'async_generator' object has no attribute 'filter'
- addition of .hsp command to lancebot HOT 1
- "Christmas tree" holiday reaction reacts to just "tree" HOT 1
- ValidationError: 1 validation error for RfcDocument
- Fix Gitpod support HOT 1
- Randomize colour of hearts for Valentines reactions HOT 1
- Trashcan delete reaction does not work in DMs HOT 3
- New trivia questions HOT 1
- Option to send public valentines privately through DMs HOT 1
- Add more trivia questions HOT 1
- Add random graph trivia questions HOT 1
- Display word on hangman timeout HOT 1
- Fix minesweeper command HOT 1
- Fix reddit command
- Trivia question 423 is wrong HOT 1
- Improve formatting of `.quiz help` HOT 4
- TypeError: can't compare offset-naive and offset-aware datetimes
- latex preamble update part 2: fun with TikZ
- Go through sentry 2.0 migration guide HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sir-lancebot.