{"id":31216991,"url":"https://github.com/zzyztyy/pyigrf","last_synced_at":"2025-10-27T22:34:01.910Z","repository":{"id":45078994,"uuid":"151918438","full_name":"zzyztyy/pyIGRF","owner":"zzyztyy","description":null,"archived":false,"fork":false,"pushed_at":"2025-04-11T23:56:45.000Z","size":96,"stargazers_count":32,"open_issues_count":7,"forks_count":15,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-09-21T13:38:22.316Z","etag":null,"topics":["igrf","python3"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zzyztyy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-10-07T07:55:18.000Z","updated_at":"2025-06-19T13:31:06.000Z","dependencies_parsed_at":"2022-09-16T14:21:13.913Z","dependency_job_id":null,"html_url":"https://github.com/zzyztyy/pyIGRF","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/zzyztyy/pyIGRF","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zzyztyy%2FpyIGRF","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zzyztyy%2FpyIGRF/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zzyztyy%2FpyIGRF/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zzyztyy%2FpyIGRF/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zzyztyy","download_url":"https://codeload.github.com/zzyztyy/pyIGRF/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zzyztyy%2FpyIGRF/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281355381,"owners_count":26486897,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-27T02:00:05.855Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["igrf","python3"],"created_at":"2025-09-21T13:30:02.011Z","updated_at":"2025-10-27T22:34:01.906Z","avatar_url":"https://github.com/zzyztyy.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pyIGRF\n## What is pyIGRF?  \nThis is a package of IGRF-14 (International Geomagnetic Reference Field) about python version. \nWe can calculate magnetic field intensity and transform coordinate between GeoGraphical and GeoMagnetic.\nIt don't need any Fortran compiler or NumPy package.  \n\n## How to Install?\nDownload this package and run install.\n\u003e```python setup.py install```\n\n## How to Use it?\nFirst import this package.  \n\u003e ```import pyIGRF```\n\nYou can calculate magnetic field intensity.   \n\u003e```pyIGRF.igrf_value(lat, lon, alt, date)```\n\nor calculate the annual variation of magnetic filed intensity.  \n\u003e```pyIGRF.igrf_variation(lat, lon, alt, date)```\n\nthe response is 7 float number about magnetic filed which is:  \n- D: declination (+ve east)\n- I: inclination (+ve down)\n- H: horizontal intensity\n- X: north component\n- Y: east component\n- Z: vertical component (+ve down)\n- F: total intensity  \n*unit: degree or nT*\n\nIf you want to use IGRF-14 more flexibly, you can use module *calculate*. \nThere is two function which is closer to Fortran. You can change it for different coordination.\n\u003e```from pyIGRF import calculate```  \n\nAnother module *load_coeffs* can be used to get *g[m][n]* or *h[m][n]* same as that in formula.\n\u003e```from pyIGRF.load_coeffs import get_coeffs``` \n\n\n\n## Model Introduction and igrf13-coeffs File Download\nhttps://www.ngdc.noaa.gov/IAGA/vmod/igrf.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzzyztyy%2Fpyigrf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzzyztyy%2Fpyigrf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzzyztyy%2Fpyigrf/lists"}