QWeather #QGIS

QGIS3 plugin

This tool can be used to get weather using Yahoo Weather API.

QWeather v3.1

Update for yahoo weather api

http://plugins.qgis.org/plugins/QWeather/

https://www.hatarilabs.com/ih-en/how-to-get-geospatial-weather-information-with-qgis-and-qweather-tutorial?fbclid=IwAR0St-ZZc-DOgfkcsCDVVRmkpWqIH1-3_9xMP26-GhceE2YcZ-Bz5ejQDDY

STOP Using Python 2


DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won’t be maintained after that date. A future version of pip will drop support for Python 2.7.

Python 2.0 was released on October 16, 2000, with many major new features, including a cycle-detecting garbage collector (in addition to reference counting) for memory management and support for Unicode. However, the most important change was to the development process itself, with a shift to a more transparent and community-backed process.[7]
Python 3.0, a major, backwards-incompatible release, was released on December 3, 2008[8] after a long period of testing. Many of its major features have also been backported to the backwards-compatible Python 2.6 and 2.7.[9]

Python 2.0 was released on 16 October 2000 with many major new features, including a cycle-detecting garbage collector and support for Unicode.[35]

Python 3.0 was released on 3 December 2008. It was a major revision of the language that is not completely backward-compatible.[36] Many of its major features were backported to Python 2.6.x[37] and 2.7.x version series. Releases of Python 3 include the 2to3 utility, which automates (at least partially) the translation of Python 2 code to Python 3.[38]


https://pythonclock.org/

Source

Real-time Air Quality Tile API #QGIS

Tile Map Service Endpoint

The tile map server is available from the url https://tiles.waqi.info/tiles/{aqi}/{z}/{x}/{y}.png, where aqi refers for the type of marker to be plotted, which can be:

  • usepa-aqi: Plots markers based on the composite AQI calculated with the US EPA standard.
  • usepa-pm25: PM2.5 based AQI – if a station does not have PM2.5 reading, then it is not plotted.
  • usepa-10: Same as above, but for PM10.
  • usepa-o3: Same as above, but for Ozone (based on the 1 hour breakpoints).
  • usepa-no2: Same as above, but for Nitrogen Dioxide.
  • usepa-so2: Same as above, but for Sulfur Dioxide.
  • usepa-co: Same as above, but for Carbon Monoxide.
  • asean-pm10: Asean PM10 raw PM10 concentration (explanations).

Web-Service usage conditions

The map webservice is provided for free, under the condition of reasonable usage limits and acceptable usage policy. The tiles are currently refreshed every 15 minutes (and up to 1 hour in case of high traffic). 

Note that our server capacity is limited, so we reserve the right to pause the service at any time, for instance to performance server maintenance. If you need a more stable integration, contact us to find a proper solution, such as setting-up a dedictated server. 

Last you also need to specify your own token ID as an extra argument to the tile service endpoint, like token=_TOKEN_ID_ in the following url: https://tiles.waqi.info/tiles/{aqi}/{z}/{x}/{y}.png?token=_TOKEN_ID_. You can request your own token ID from this page. You just need to provide a valid email, and you can get your own token within a minute. 

Source:

How to install third-party python modules #QGIS

Download files from here:

https://www.dropbox.com/sh/bcbwn4junux1e71/AADNp9KyDvBWamIQgparSIKla?dl=0

py3-env.bat

@ECHO OFF 

set "OSGEO4W_ROOT=%~1"
echo %OSGEO4W_ROOT%

set PATH=%OSGEO4W_ROOT%\bin;%PATH%
set PATH=%PATH%;%OSGEO4W_ROOT%\apps\qgis\bin

@echo off
call "%OSGEO4W_ROOT%\bin\o4w_env.bat"
call "%OSGEO4W_ROOT%\bin\qt5_env.bat"
call "%OSGEO4W_ROOT%\bin\py3_env.bat"
@echo off
path %OSGEO4W_ROOT%\apps\qgis\bin;%PATH%

cd /d %~dp0

::start cmd

pythonmodules.txt

pandas
geopandas
pysal

or

pandas
geopandas
C:\Users\mkiria01\Desktop\Fiona-1.8.4-cp37-cp37m-win_amd64.whl
pysal

pip_install_packages.bat

@echo off
set "input=C:\Program Files\QGIS 3.4"
echo %input%

@echo ON

cd /d %~dp0

call py3-env.bat "%input%"

python3 -m pip install --upgrade pip
python3 -m pip install -r pythonmodules.txt

or without file pythonmodules.txt

@echo off
set "input=C:\Program Files\QGIS 3.4"
echo %input%

@echo ON

cd /d %~dp0

call py3-env.bat "%input%"

python3 -m pip install --upgrade pip
python3 -m pip install pandas
python3 -m pip install geopandas
python3 -m pip install pysal


QGIS 2

pip_install_packages2.bat

@echo off
set "input=C:\Program Files\QGIS 2.18"
echo %input%

@echo ON

cd /d %~dp0

call py3-env.bat "%input%"

python -m pip install --upgrade pip
python -m pip install numpy