{"id":22126605,"url":"https://github.com/avalentino/xseof","last_synced_at":"2025-07-25T16:33:39.592Z","repository":{"id":63535162,"uuid":"562737050","full_name":"avalentino/xseof","owner":"avalentino","description":"I/O library for the ESA EOF files based on xsdata.","archived":false,"fork":false,"pushed_at":"2024-08-10T22:49:16.000Z","size":487,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-11-16T02:06:44.346Z","etag":null,"topics":["attitude","dataclasses","orbit"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/avalentino.png","metadata":{"files":{"readme":"README.rst","changelog":"NEWS.rst","contributing":null,"funding":null,"license":"LICENSE.txt","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}},"created_at":"2022-11-07T06:32:04.000Z","updated_at":"2024-08-10T22:49:07.000Z","dependencies_parsed_at":"2024-08-10T15:07:33.229Z","dependency_job_id":null,"html_url":"https://github.com/avalentino/xseof","commit_stats":{"total_commits":64,"total_committers":2,"mean_commits":32.0,"dds":0.046875,"last_synced_commit":"ba6fd54dde85685f9d66abc8bd76003185570108"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avalentino%2Fxseof","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avalentino%2Fxseof/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avalentino%2Fxseof/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avalentino%2Fxseof/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/avalentino","download_url":"https://codeload.github.com/avalentino/xseof/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227598456,"owners_count":17791605,"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":["attitude","dataclasses","orbit"],"created_at":"2024-12-01T16:59:24.543Z","updated_at":"2024-12-01T16:59:25.145Z","avatar_url":"https://github.com/avalentino.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"xseof\n=====\n\nOverview\n--------\n\nI/O library for the ESA EOF files.\n\nThis package provides a set of \"dataclasses\", comapible with the\nxsdata_ Python library, to access and make I/O operation on the XML files\nin the ESA Earth Observation Ground Segment File Format (EOF) [1]_.\n\nIn particular, this package supports all the XML based orbit and attitude\nproducts described in [1]_.\n\n\nProject links\n-------------\n\n:Home Page:\n    https://github.com/avalentino/xseof\n:Download:\n    https://pypi.org/project/xseof\n\n\nInstallation\n------------\n\nStandard installation via pip_::\n\n    $ pip install xseof\n\nInstallation via conda_::\n\n    $ conda install -c avalentino xseof\n\n\nTesting\n-------\n\nMove to the the source directory root and run the following command::\n\n    $ python3 -m pytest\n\n\nBasic usage\n-----------\n\nLoad a generic orbit file::\n\n    \u003e\u003e\u003e import xseof\n    \u003e\u003e\u003e orbit = xseof.load(\n            \"MA1_TEST_AUX_ORBRES_20210610T045753_20210610T065853_0001.EOF\")\n\n\nAccess and print loaded data::\n\n    \u003e\u003e\u003e import pprint\n    \u003e\u003e\u003e orbit.earth_observation_header.fixed_header.notes = \"\"\n    \u003e\u003e\u003e pprint.pprint(orbit.earth_observation_header.fixed_header)\n    FixedHeaderType(\n        file_name='MA1_TEST_AUX_ORBRES_20210610T045753_20210610T065853_0001',\n        file_description='FOS Orbit File',\n        notes='',\n        mission='MetOpSGA1',\n        file_class='TEST',\n        file_type='AUX_ORBRES',\n        validity_period=ValidityPeriodType(\n            validity_start='UTC=2021-06-10T04:57:53',\n            validity_stop='UTC=2021-06-10T05:02:23'),\n        file_version='0001',\n        eoffs_version='3.0',\n        source=SourceType(system='System Identification as per Ground '\n                                'Segment File Format Standard '\n                                '(PE-TN-ESA-GS-0001)',\n                        creator='Creator Identification as per '\n                                'Ground Segment File Format Standard '\n                                '(PE-TN-ESA-GS-0001)',\n                        creator_version='Creator Version '\n                                        'Identification as per '\n                                        'Ground Segment File Format '\n                                        'Standard '\n                                        '(PE-TN-ESA-GS-0001)',\n                        creation_date='UTC=2022-06-23T10:06:43'))\n\n    \u003e\u003e\u003e print(orbit.data_block.list_of_osvs.count)\n    10\n    \u003e\u003e\u003e pprint.pprint(orbit.data_block.list_of_osvs.osv[0])\n    OsvType(tai='TAI=2021-06-10T04:57:17.817060',\n        utc='UTC=2021-06-10T04:57:52.817060',\n        ut1='UT1=2021-06-10T04:57:53.117059',\n        absolute_orbit=999,\n        x=PositionComponentType(value=Decimal('-1606749.988'), unit='m'),\n        y=PositionComponentType(value=Decimal('-5677008.966'), unit='m'),\n        z=PositionComponentType(value=Decimal('-4135675.595'), unit='m'),\n        vx=VelocityComponentType(value=Decimal('-2876.652288'), unit='m/s'),\n        vy=VelocityComponentType(value=Decimal('-3541.028256'), unit='m/s'),\n        vz=VelocityComponentType(value=Decimal('5985.303441'), unit='m/s'),\n        quality='0000000000000')\n\n\nLoad an EOF file of a specific type::\n\n    \u003e\u003e\u003e from xseof import int_attref\n    \u003e\u003e\u003e quaternions = int_attref.load(\n            \"MA1_TEST_INT_ATTREF_20210610T045753_20210610T065853_0001.EOF\")\n\n\nLoad data form string::\n\n    \u003e\u003e\u003e from xseof import aux_orbres\n    \u003e\u003e\u003e filename = \"MA1_TEST_AUX_ORBRES_20210610T045753_20210610T065853_0001.EOF\"\n    \u003e\u003e\u003e with open(filename) as fd:\n    ...     data = fd.read()\n    \u003e\u003e\u003e orbit = aux_orbres.from_string(data)\n\n\nLicense\n-------\n\nCopyright 2022-2024 Antonio Valentino\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific langua\n\n\n.. _xsdata: https://github.com/tefra/xsdata\n.. _pip: https://pip.pypa.io\n.. _conda: https://docs.conda.io\n\n.. [1] https://eop-cfi.esa.int/Repo/PUBLIC/DOCUMENTATION/SYSTEM_SUPPORT_DOCS/PE-TN-ESA-GS-0001%20EO%20GS%20File%20Format%20Standard%203.0%20signed.pdf\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favalentino%2Fxseof","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Favalentino%2Fxseof","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favalentino%2Fxseof/lists"}