{"id":29127888,"url":"https://github.com/juliaspacephysics/madrigal.jl","last_synced_at":"2026-01-29T09:36:00.660Z","repository":{"id":296966575,"uuid":"995104451","full_name":"JuliaSpacePhysics/Madrigal.jl","owner":"JuliaSpacePhysics","description":"A Julia API to access the Madrigal database.","archived":false,"fork":false,"pushed_at":"2025-06-18T08:25:42.000Z","size":236,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-18T08:26:36.479Z","etag":null,"topics":["julia","space-physics"],"latest_commit_sha":null,"homepage":"https://juliaspacephysics.github.io/Madrigal.jl/","language":"Julia","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/JuliaSpacePhysics.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-03T01:21:26.000Z","updated_at":"2025-06-18T08:25:41.000Z","dependencies_parsed_at":"2025-06-03T17:02:17.082Z","dependency_job_id":"39b2f55f-79e3-4433-ac22-05a9ee46732c","html_url":"https://github.com/JuliaSpacePhysics/Madrigal.jl","commit_stats":null,"previous_names":["beforerr/madrigalweb.jl","juliaspacephysics/madrigalweb.jl"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/JuliaSpacePhysics/Madrigal.jl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuliaSpacePhysics%2FMadrigal.jl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuliaSpacePhysics%2FMadrigal.jl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuliaSpacePhysics%2FMadrigal.jl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuliaSpacePhysics%2FMadrigal.jl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JuliaSpacePhysics","download_url":"https://codeload.github.com/JuliaSpacePhysics/Madrigal.jl/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuliaSpacePhysics%2FMadrigal.jl/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262690397,"owners_count":23349168,"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","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":["julia","space-physics"],"created_at":"2025-06-30T01:02:04.805Z","updated_at":"2026-01-29T09:36:00.651Z","avatar_url":"https://github.com/JuliaSpacePhysics.png","language":"Julia","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Madrigal.jl\n\n[![DOI](https://zenodo.org/badge/995104451.svg)](https://doi.org/10.5281/zenodo.15710129)\n\n[![Build Status](https://github.com/juliaspacephysics/Madrigal.jl/actions/workflows/CI.yml/badge.svg?branch=main)](https://github.com/juliaspacephysics/Madrigal.jl/actions/workflows/CI.yml?query=branch%3Amain)\n[![Coverage](https://codecov.io/gh/juliaspacephysics/Madrigal.jl/branch/main/graph/badge.svg)](https://codecov.io/gh/juliaspacephysics/Madrigal.jl)\n[![Aqua QA](https://raw.githubusercontent.com/JuliaTesting/Aqua.jl/master/badge.svg)](https://github.com/JuliaTesting/Aqua.jl)\n\nA Julia API to access the [Madrigal database](https://cedar.openmadrigal.org/): an upper atmospheric science database.\n\n**Installation**: at the Julia REPL, run `using Pkg; Pkg.add(\"Madrigal\")`\n\n**Documentation**: [![Dev](https://img.shields.io/badge/docs-dev-blue.svg)](https://JuliaSpacePhysics.github.io/Madrigal.jl/dev/)\n\n## Examples\n\n```julia\nusing Madrigal\nusing Dates\n\n# Get instruments (fast cached access by default)\ninsts = get_instruments()\n\nkinst = 30 # \"Millstone Hill IS Radar\"\nkindat = 3408 # \"Combined basic parameters file - all antennas and modes\"\ntstart = Date(1998, 1, 19)\ntend = Date(1998, 12, 31)\n\n# Get experiments (cached by default, use source=:web for latest data)\nexps = get_experiments(kinst, tstart, tend)\nfiles = get_experiment_files(exps[1])\nfile = filter(f -\u003e f.kindat == kindat, files)[1]\nparams = get_experiment_file_parameters(file)\npath = download_file(file)\n```\n\nYou can also query / download files given the instrument id (`kinst`), kind of data file code (`kindat`), and time range `tstart` to `tend`. See [Madrigal instrument metadata](https://cedar.openmadrigal.org/instMetadata) for a list of `kinst` and [Madrigal kind of data file types metadata](https://cedar.openmadrigal.org/kindatMetadata) for a list of `kindat`.\n\n```julia\nget_instrument_files(kinst, tstart, tend)\nfiles = get_instrument_files(kinst, kindat, tstart, tend)\ndownload_file.(files)\n# or\ndownload_files(kinst, kindat, \"1998-01-18\", \"1998-01-22\")\n```\n\n## Notes\n\n\u003e Madrigal data are arranged into \"experiments\", which may contain data files, images, documentation, links, etc.\n\n## References and Elsewhere\n\n- [Madrigal Database Documentation](https://cedar.openmadrigal.org/docs/name/madContents.html)\n- [madrigalWeb](https://github.com/MITHaystack/madrigalWeb): a (official) python API to access the Madrigal database\n- [pysatMadrigal](https://github.com/pysat/pysatMadrigal) allows importing Madrigal data sets into the `pysat` ecosystem. However, it only supports a few data sets and is not general purpose.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuliaspacephysics%2Fmadrigal.jl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjuliaspacephysics%2Fmadrigal.jl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuliaspacephysics%2Fmadrigal.jl/lists"}