{"id":24791506,"url":"https://github.com/pysat/pysatcdf","last_synced_at":"2025-10-12T15:31:24.897Z","repository":{"id":4040954,"uuid":"51764432","full_name":"pysat/pysatCDF","owner":"pysat","description":"Python reader for NASA CDF file format","archived":false,"fork":false,"pushed_at":"2024-10-30T20:16:25.000Z","size":11580,"stargazers_count":10,"open_issues_count":17,"forks_count":8,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-01-06T03:36:56.501Z","etag":null,"topics":["cdf","nasa-cdf","python","python-reader"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pysat.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2016-02-15T15:23:16.000Z","updated_at":"2022-07-24T08:10:59.000Z","dependencies_parsed_at":"2023-07-12T00:32:24.100Z","dependency_job_id":null,"html_url":"https://github.com/pysat/pysatCDF","commit_stats":{"total_commits":219,"total_committers":10,"mean_commits":21.9,"dds":"0.11415525114155256","last_synced_commit":"0d0d0fa843e26d269b17591fd27e4561bb32d40f"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pysat%2FpysatCDF","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pysat%2FpysatCDF/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pysat%2FpysatCDF/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pysat%2FpysatCDF/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pysat","download_url":"https://codeload.github.com/pysat/pysatCDF/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":236239212,"owners_count":19117165,"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":["cdf","nasa-cdf","python","python-reader"],"created_at":"2025-01-29T19:17:16.941Z","updated_at":"2025-10-12T15:31:23.877Z","avatar_url":"https://github.com/pysat.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n        \u003cimg height=\"0\" width=\"0px\"\u003e\n        \u003cimg width=\"20%\" src=\"https://raw.githubusercontent.com/pysat/pysatCDF/main/docs/images/logo.png\" alt=\"pysatCDF\" title=\"pysatCDF\"\u003c/img\u003e\n\u003c/div\u003e\n\n# pysatCDF\n[![PyPI Package latest release](https://img.shields.io/pypi/v/pysatcdf.svg)](https://pypi.python.org/pypi/pysatcdf)\n[![Build Status](https://github.com/pysat/pysatCDF/actions/workflows/main.yml/badge.svg)](https://github.com/pysat/pysatCDF/actions/workflows/main.yml/badge.svg)\n[![Coverage Status](https://coveralls.io/repos/github/pysat/pysatCDF/badge.svg?branch=main)](https://coveralls.io/github/pysat/pysatCDF?branch=main)\n[![DOI](https://zenodo.org/badge/51764432.svg)](https://zenodo.org/badge/latestdoi/51764432)\n\nSelf-contained Python reader for NASA CDF file format\n\nUses standard and extended Fortran CDF interfaces to load Common Data Format (CDF) files into Python.\n\n# Example\n```\nimport pysatCDF\nwith pysatCDF.CDF(filename) as cdf:\n\n    # All variable data loaded into dictionary in .data\n    cdf.data\n    data = cdf.data[name]\n    # Attributes dictionary\n    cdf.meta\n    attribute = cdf.meta[name][attr_name]\n\n    # CDF variable information available by name\n    cdf[name]\n\n    # Data access similar to other packages\n    data = cdf[name][...]\n    attribute = cdf[name].attrs[attr_name]\n\n    # Export data to pysat data and metadata format\n    data, meta = cdf.to_pysat()\n```\n\n# Testing\npysatCDF has been tested on Mac OS X and Ubuntu 15.04. Support is included \nfor building on windows via Windows Subsystem for Linux. \n\n# Motivation\nProvide simple, robust access to CDF data in Python and simplify \nadding instruments to [pysat](https://github.com/pysat/pysat).\n\n# Installation in POSIX compatible environments\nActual CDF loading is performed by the [NASA CDF libraries](http://cdf.gsfc.nasa.gov/html/sw_and_docs.html) \nwhich are included with pysatCDF.\n\nTo install pysatCDF\n```\ngit clone https://github.com/rstoneback/pysatCDF.git\ncd pysatCDF\npython setup.py install\n```\n\n# Installing pysatCDF in MacOS\n\nMacOS does not ship with a Fortran compiler. One method for getting a suitable\nbuild environment is to use brew.\n```\nbrew install gcc\n```\n\nand then install pysatCDF as normal.\n\n# Installing pysatCDF in Windows\n\nInstall the Windows Subsytem for Linux and proceed as per POSIX installation.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpysat%2Fpysatcdf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpysat%2Fpysatcdf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpysat%2Fpysatcdf/lists"}