pykma_grid
pykma_grid는 위도와 경도를 Lambert Conformal Conic Projection을 사용하여 격자 좌표로 변환하는 파이썬 패키지입니다. 이 패키지는 기상청 API에서 격자X, Y를 사용할 때 유용합니다.
기상청 API 문서 내에 C언어로 된 격자 변환 코드를 자바스크립트로 변환한 코드입니다.
설치 방법
패키지는 pip을 사용하여 쉽게 설치할 수 있습니다:
pip install pykma_grid
기본 사용 방법
pykma_grid 패키지를 사용하기 위해서는, 먼저 Coordinate 클래스를 임포트하고 위도 및 경도 값을 인자로 전달하여 인스턴스를 생성합니다. 그 후, gridX와 gridY 속성을 사용하여 격자 좌표를 얻을 수 있습니다.
from pykma_grid import Coordinate
coord = Coordinate(37.565, 126.9780)
print("Grid X:", coord.gridX)
print("Grid Y:", coord.gridY)
API 문서
Coordinate(latitude, longitude)
latitude(float): 위도 (degrees)longitude(float): 경도 (degrees)
속성
gridX: 격자 X 좌표를 반환합니다 (float).gridY: 격자 Y 좌표를 반환합니다 (float).
라이선스
이 프로젝트는 MIT 라이선스를 따릅니다. 라이선스에 대한 자세한 정보는 LICENSE 파일을 참고해주세요.
기여
기여를 원하시면 프로젝트의 GitHub 저장소에 pull request를 보내주시거나 이슈를 등록해주세요.
문의
질문이나 제안 사항이 있으시면 이슈로 연락 주시기 바랍니다.
Metadata
Release files for pykma-grid 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pykma_grid-1.0.1.tar.gz | 7.0 kB | Without provenance | Details for pykma_grid-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pykma_grid-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for pykma_grid-1.0.1-py3-none-any.whl |
Total release size: 14.4 kB
Release files / pykma_grid-1.0.1.tar.gz
| Download URL | pykma_grid-1.0.1.tar.gz |
|---|---|
| Size | 7.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8fd6cc7018e500ff04e1f9f6673a6c365add22d74d178195687b27e4853fb9bb
|
|
BLAKE2b-256 checksum How to use checksums |
63cd44fa52f3367dbbe4a49db8aa24f26639d5849b400c571e73da7c6378342c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.2
|
Release files / pykma_grid-1.0.1-py3-none-any.whl
| Download URL | pykma_grid-1.0.1-py3-none-any.whl |
|---|---|
| Size | 7.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ec86385b3b3200154bacdd9ed9a9f47d64e0d156a46d475bf041d166a04bc91e
|
|
BLAKE2b-256 checksum How to use checksums |
d4dc3f7bde18a8027e1c140a35557d1319eedc8997ade4f52f6ecf4e0d120def
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.2
|
Security for pykma-grid 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.