Comments (4)
I'm working on a pull request to add a bit more customization to the current weather output, but I believe what you are asking for is to have both the forecast data (which defaults to 5 days) and the current weather data (like wind, humidity, and pressure). So for example you'd like to see something like this:
Yourtown forecast =>
Tue Aug 02: 80/74 °F ☔ - Wind => 3.89 mph SE - Humidity => 94 % - Pressure => 30.00 inHg
Wed Aug 03: 80/74 °F ☁ - Wind => 3.89 mph E - Humidity => 90 % - Pressure => 31.00 inHg
Thu Aug 04: 82/74 °F ☁ - Wind => 3.89 mph SSE - Humidity => 87 % - Pressure => 30.00 inHg
Fri Aug 05: 84/73 °F ☔ - Wind => 3.89 mph ESE - Humidity => 92 % - Pressure => 29.00 inHg
Sat Aug 06: 90/77 °F ☔ - Wind => 3.89 mph SE - Humidity => 96 % - Pressure => 30.00 inHg
This is not possible nor would it make much sense. The API that is used, OpenWeatherMap API, is able to give current information or forecasted information. The forecasted information does not include wind, humidity, or pressure. If you think about it that information would have to be a range and I'm not a weather geek but I think that info is not as predictable as high and low temperatures.
If I'm correct in what you are asking for and in the limitations of the OpenWeatherMap API then this issue could be closed I think.
from ansiweather.
Thanks for the response. As I tried to show in the hypothetical output, I'd like to receive the current data (showing all the measured observances) as well as the forecast of hi-lows. The program already shows one or the other, and I'd just like a default option to show both. I can't seem to control it from default RC file options, so I issued the request. And yes, it would be silly to have the program attempt to make accurate predictions even as the API doesn't. This is really an issue of trying to combine the fine-grained current data output with the forecast temps and conditions output. Current weather and forecast together.
from ansiweather.
Ah I get it now. Sorry I misunderstood what you were asking.
So one option would be you could just call it twice (ansiweather && ansiweather -F
).
It's not as elegant what you are asking for (something like ansiweather -b
and in 'both'), but functionally I don't think it would be different as I think -b would still need to make to API calls. (The current data and the forecast are different endpoints)
from ansiweather.
As JohnKacz pointed, you can achieve the desired effect with ansiweather && ansiweather -F
, you can add a shell alias to perform this.
from ansiweather.
Related Issues (20)
- Feature suggestion: themes / custom colors HOT 1
- Include help HOT 3
- Doesn't seem to match OpenWeatherMap data HOT 1
- is this still working? HOT 2
- Change location in ansiweatherrc.example HOT 1
- You can install ansiweather with Awesome package manager HOT 1
- Feature Request: Feels like temperature HOT 6
- Wind data in km/h HOT 11
- Some options aren't working/aren't showing up HOT 5
- multiline output HOT 1
- Help option HOT 1
- Locale date format HOT 1
- Undocumented option feels_like_text HOT 1
- Improve Forecast / Current Conditions HOT 3
- Output Language HOT 1
- How to run ansiweather on android with termux HOT 1
- dateformat problem.
- How to retreive weather for 4 cities ?? HOT 2
- leading minus sign if the value is zero
- Multiple word city names do not display 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 ansiweather.