Skip to content

Commit

Permalink
Version 20220805
Browse files Browse the repository at this point in the history
  • Loading branch information
mborsetti committed Aug 5, 2022
1 parent 585b5ff commit 5f6d3a1
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 20 deletions.
6 changes: 5 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

# NOTE: in this package implementation, tox runs 'pre-commit run -a'

minimum_pre_commit_version: 2.16.0
minimum_pre_commit_version: 2.20.0

# Force all unspecified python hooks to run python3
default_language_version:
Expand Down Expand Up @@ -38,6 +38,8 @@ repos:
# description: Attempts to load all json files to verify syntax
- id: check-merge-conflict
description: Check for files that contain merge conflict strings
# - id: check-shebang-scripts-are-executable
# description: Checks that scripts with shebangs are executable
# - id: check-symlinks
# description: Checks for symlinks which do not point to anything
# - id: check-toml
Expand Down Expand Up @@ -120,12 +122,14 @@ repos:
- id: black # https://github.com/python/black
name: Uncompromising code formatting (black)
entry: black
additional_dependencies: [black]
language: python
types: [python]
- id: flake8
name: Check for errors, style, [and over-complexity] (flake8)
description: Code linter
entry: flake8 # https://gitlab.com/pycqa/flake8
additional_dependencies: [flake8]
language: python
types: [python]
require_serial: true
Expand Down
9 changes: 9 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,15 @@ on the UTC date of the release.

`Contributions <https://github.com/mborsetti/airportdata/blob/master/CHANGELOG.rst>`__ always welcomed!

Version 20220805
================
* Added ICAO Location Indicator EPKZ to OSZ, Koszalin Zegrze Airport, West Pomerania, Poland (contributed by `Błażej
Cyrzon <https://github.com/bc291>`__ in PR `#15 <https://github.com/mborsetti/airportsdata/pull/15>`__).
* Added IATA Location Code FKN to KFKN, Franklin Municipal John Beverly Rose Airport, Franklin, Virginia, USA
(contributed by `Błażej Cyrzon <https://github.com/bc291>`__ in PR `#15
https://github.com/mborsetti/airportsdata/pull/15>`__).


Version 20220731
================
* Added UECT/TLK, Talakan Airport, Lenskiy Ulus, Sakha, Russia (contributed by Vladimir Simakhin
Expand Down
10 changes: 7 additions & 3 deletions CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,12 @@ Everyone is encouraged to contribute!
If you can provide a change as a pull request, please do so. If not, please open an issue `here
<https://github.com/mborsetti/airportdata/issues>`__ and someone will look into it.

Please provide a link to a primary source (e.g. ICAO, national aviation authority such as `FAA <https://www.faa
.gov/air_traffic/flight_info/aeronav/aero_data/Airport_Data/>`__, IATA, etc.) to help out the data verification process.
ARINC data (e.g. from `SkyVector <https://skyvector.com/airports>`__) is a good source as well.
Please provide a link to a primary source (e.g. national aviation authority such as `FAA <https://www.faa
.gov/air_traffic/flight_info/aeronav/aero_data/Airport_Data/>`__, `IATA
<https://www.iata.org/en/publications/directories/code-search/>__, etc.) to help out the data verification
process. ARINC data (e.g. from `SkyVector <https://skyvector.com/airports>`__) is also a good source since, sadly, the
official ICAO Location Indicators are not made freely available to taxpayers (see `here
<https://store.icao.int/en/location-indicators-doc-7910>`__).

Python contributors can test changes locally with ``tox`` or by running:

Expand All @@ -29,3 +32,4 @@ Thanks to the following for having contributed directly to this project:

* `Edward Weymouth <https://github.com/ed42311>`__
* `Michel Vidal-Naquet <https://github.com/micvn>`__
* `Błażej Cyrzon <https://github.com/bc291>`__
12 changes: 6 additions & 6 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ entries.

Each entry consists of the following data:

* ``icao``: ICAO 4-alphanumeric code or FAA/TC LID[*] (|ICAO| entries)
* ``iata``: IATA 3-letter code (for |IATA| entries) or an empty string
* ``icao``: ICAO 4-letter Location Indicator or 4-alphanumeric FAA/TC LID[*] (|ICAO| entries)
* ``iata``: IATA 3-letter Location Code (for |IATA| entries) or an empty string
* ``name``: Official name (latin script)
* ``city``: City
* ``subd``: Subdivision (e.g. state, province, region, etc.)
Expand All @@ -49,19 +49,19 @@ Each entry consists of the following data:
* ``tz``: Timezone expressed as a `tz database name <https://en.wikipedia.org/wiki/List_of_tz_database_time_zones>`__
(IANA-compliant)

.. [*] See `here <https://github.com/mborsetti/airportsdata/README_FAA.rst>`__ for an explanation on how
.. [*] See `here <https://github.com/mborsetti/airportsdata/blob/main/README_FAA.rst>`__ for an explanation on how
airports with only an U.S. FAA or Transport Canada Location Identifier location identifier (FAA/TC LID) are
listed. See `here <https://github.com/mborsetti/airportsdata/README_IATA.rst>`__ for a list of IATA Multi
listed. See `here <https://github.com/mborsetti/airportsdata/blob/main/README_IATA.rst>`__ for a list of IATA Multi
Airport Cities.
Best efforts are placed to review all contributions for accuracy, but accuracy cannot be guaranteed nor should be
expected by users.

Known issues:

* 219 aerodromes have IATA codes that are not in the `IATA database
* 219 aerodromes have IATA Location Codes that are not in the `IATA database
<https://www.iata.org/en/publications/directories/code-search/>`__ and may be incorrect;
* A small, but unknown, number of aerodromes are missing their IATA code (none are major ones);
* A small, but unknown, number of aerodromes are missing their IATA Location Code (none are major ones);
* Timezone was originally sourced from `TimeZoneDB <https://timezonedb.com>`__ and is missing for Antarctica;
* No historical data.

Expand Down
14 changes: 5 additions & 9 deletions RELEASE.rst
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
* Added UECT/TLK, Talakan Airport, Lenskiy Ulus, Sakha, Russia (contributed by Vladimir Simakhin
<https://github.com/vsimakhin>`__ upstream in PR `#60 <https://github.com/mwgg/Airports/pull/60>`__.
* Updated name and added IATA code to KORL/ORL, Orlando Executive Airport, Orlando, Florida, USA (partially
contributed by jeremiahmorton20 <https://github.com/jeremiahmorton20>`__ upstream in PR `#61
<https://github.com/mwgg/Airports/pull/61>`__.
* Fixed city of KIAD/IAD, Washington Dulles International Airport, Dulles, Virginia, USA (contributed by Glenn Rempe
<https://github.com/grempe>`__ upstream in PR `#63 <https://github.com/mwgg/Airports/pull/63>`__.
* Updated elevation of EDDB/SXF, Berlin Brandenburg Airport, Berlin, Germany (contributed by Vladimir Simakhin
<https://github.com/vsimakhin>`__ upstream in PR `#64 <https://github.com/mwgg/Airports/pull/64>`__.
* Added ICAO Location Indicator EPKZ to OSZ, Koszalin Zegrze Airport, West Pomerania, Poland (contributed by `Błażej
Cyrzon <https://github.com/bc291>`__ in PR `#15 <https://github.com/mborsetti/airportsdata/pull/15>`__).
* Added IATA Location Code FKN to KFKN, Franklin Municipal John Beverly Rose Airport, Franklin, Virginia, USA
(contributed by `Błażej Cyrzon <https://github.com/bc291>`__ in PR `#15
https://github.com/mborsetti/airportsdata/pull/15>`__).
2 changes: 1 addition & 1 deletion airportsdata/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

__project_name__ = __package__
# Release numbering follows the release date
__version__ = '20220731'
__version__ = '20220805'
__min_python_version__ = (3, 7)
__author__ = 'Mike Borsetti <[email protected]>'
__copyright__ = 'Copyright 2020- Mike Borsetti'
Expand Down

0 comments on commit 5f6d3a1

Please sign in to comment.