LittleBoy SpaceData v1: licence-checked public space data
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- .gitattributes +60 -0
- MANIFEST.json +0 -0
- README.md +53 -0
- build_spacedata.py +121 -0
- catalogs/exoplanets/exoplanets_pscomppars.csv +3 -0
- catalogs/gcat/currentcat.tsv +3 -0
- catalogs/gcat/gcat_launch.tsv +3 -0
- catalogs/gcat/gcat_satcat.tsv +3 -0
- catalogs/gcat/launchlog.tsv +0 -0
- catalogs/small_bodies/sbdb_neo.json +0 -0
- conjunction/nasa_cara/DataFiles/AlfanoInputData/Alfano_2009_Test_Cases/Alfano_2009_Supplementary_Data.xlsx +0 -0
- conjunction/nasa_cara/DataFiles/AlfanoInputData/Alfano_2009_Test_Cases/Case1 data at Epoch Time.xls +0 -0
- conjunction/nasa_cara/DataFiles/AlfanoInputData/Alfano_2009_Test_Cases/Case1 data at TCA.xls +0 -0
- conjunction/nasa_cara/DataFiles/AlfanoInputData/Alfano_2009_Test_Cases/Case10 data at Epoch Time.xls +0 -0
- conjunction/nasa_cara/DataFiles/AlfanoInputData/Alfano_2009_Test_Cases/Case10 data at TCA.xls +0 -0
- conjunction/nasa_cara/DataFiles/AlfanoInputData/Alfano_2009_Test_Cases/Case11 data at Epoch Time.xls +0 -0
- conjunction/nasa_cara/DataFiles/AlfanoInputData/Alfano_2009_Test_Cases/Case11 data at TCA.xls +0 -0
- conjunction/nasa_cara/DataFiles/AlfanoInputData/Alfano_2009_Test_Cases/Case12 data at Epoch Time.xls +0 -0
- conjunction/nasa_cara/DataFiles/AlfanoInputData/Alfano_2009_Test_Cases/Case12 data at TCA.xls +0 -0
- conjunction/nasa_cara/DataFiles/AlfanoInputData/Alfano_2009_Test_Cases/Case2 data at Epoch Time.xls +0 -0
- conjunction/nasa_cara/DataFiles/AlfanoInputData/Alfano_2009_Test_Cases/Case2 data at TCA.xls +0 -0
- conjunction/nasa_cara/DataFiles/AlfanoInputData/Alfano_2009_Test_Cases/Case3 data at Epoch Time.xls +0 -0
- conjunction/nasa_cara/DataFiles/AlfanoInputData/Alfano_2009_Test_Cases/Case3 data at TCA.xls +0 -0
- conjunction/nasa_cara/DataFiles/AlfanoInputData/Alfano_2009_Test_Cases/Case4 data at Epoch Time.xls +0 -0
- conjunction/nasa_cara/DataFiles/AlfanoInputData/Alfano_2009_Test_Cases/Case4 data at TCA.xls +0 -0
- conjunction/nasa_cara/DataFiles/AlfanoInputData/Alfano_2009_Test_Cases/Case5 data at Epoch Time.xls +0 -0
- conjunction/nasa_cara/DataFiles/AlfanoInputData/Alfano_2009_Test_Cases/Case5 data at TCA.xls +0 -0
- conjunction/nasa_cara/DataFiles/AlfanoInputData/Alfano_2009_Test_Cases/Case6 data at Epoch Time.xls +0 -0
- conjunction/nasa_cara/DataFiles/AlfanoInputData/Alfano_2009_Test_Cases/Case6 data at TCA.xls +0 -0
- conjunction/nasa_cara/DataFiles/AlfanoInputData/Alfano_2009_Test_Cases/Case7 data at Epoch Time.xls +0 -0
- conjunction/nasa_cara/DataFiles/AlfanoInputData/Alfano_2009_Test_Cases/Case7 data at TCA.xls +0 -0
- conjunction/nasa_cara/DataFiles/AlfanoInputData/Alfano_2009_Test_Cases/Case8 data at Epoch Time.xls +0 -0
- conjunction/nasa_cara/DataFiles/AlfanoInputData/Alfano_2009_Test_Cases/Case8 data at TCA.xls +0 -0
- conjunction/nasa_cara/DataFiles/AlfanoInputData/Alfano_2009_Test_Cases/Case9 data at Epoch Time.xls +0 -0
- conjunction/nasa_cara/DataFiles/AlfanoInputData/Alfano_2009_Test_Cases/Case9 data at TCA.xls +0 -0
- conjunction/nasa_cara/DataFiles/HBRMassEstimates/.gitignore +3 -0
- conjunction/nasa_cara/DataFiles/HBRMassEstimates/01_Distribution_README.txt +205 -0
- conjunction/nasa_cara/DataFiles/HBRMassEstimates/DummyPasswordManager/GetConnectionIdx.m +32 -0
- conjunction/nasa_cara/DataFiles/HBRMassEstimates/DummyPasswordManager/GetPassword.m +5 -0
- conjunction/nasa_cara/DataFiles/HBRMassEstimates/DummyPasswordManager/GetSecKey.m +4 -0
- conjunction/nasa_cara/DataFiles/HBRMassEstimates/GetDiscosData.m +343 -0
- conjunction/nasa_cara/DataFiles/HBRMassEstimates/GetHBRMassEstimate.m +188 -0
- conjunction/nasa_cara/DataFiles/HBRMassEstimates/HBR_Mass_Estimates_20240501_ForDistribution.csv +0 -0
- conjunction/nasa_cara/DataFiles/HBRMassEstimates/HBR_Mass_Estimates_20240711_ForDistribution.csv +0 -0
- conjunction/nasa_cara/DataFiles/HBRMassEstimates/HBR_Mass_Estimates_20240801_ForDistribution.csv +0 -0
- conjunction/nasa_cara/DataFiles/HBRMassEstimates/HBR_Mass_Estimates_20240901_ForDistribution.csv +0 -0
- conjunction/nasa_cara/DataFiles/HBRMassEstimates/HBR_Mass_Estimates_20241001_ForDistribution.csv +0 -0
- conjunction/nasa_cara/DataFiles/HBRMassEstimates/HBR_Mass_Estimates_20241101_ForDistribution.csv +0 -0
- conjunction/nasa_cara/DataFiles/HBRMassEstimates/HBR_Mass_Estimates_20241201_ForDistribution.csv +0 -0
- conjunction/nasa_cara/DataFiles/HBRMassEstimates/HBR_Mass_Estimates_20250101_ForDistribution.csv +0 -0
.gitattributes
CHANGED
|
@@ -58,3 +58,63 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 58 |
# Video files - compressed
|
| 59 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 60 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 58 |
# Video files - compressed
|
| 59 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 60 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
| 61 |
+
catalogs/exoplanets/exoplanets_pscomppars.csv filter=lfs diff=lfs merge=lfs -text
|
| 62 |
+
catalogs/gcat/currentcat.tsv filter=lfs diff=lfs merge=lfs -text
|
| 63 |
+
catalogs/gcat/gcat_launch.tsv filter=lfs diff=lfs merge=lfs -text
|
| 64 |
+
catalogs/gcat/gcat_satcat.tsv filter=lfs diff=lfs merge=lfs -text
|
| 65 |
+
conjunction/nasa_cara/DistributedMatlab/CollisionConsequence/Documentation/SDK_Documentation_ConjunctionConsequence.docx filter=lfs diff=lfs merge=lfs -text
|
| 66 |
+
conjunction/nasa_cara/DistributedMatlab/CovarianceRealism/Documentation/Abbreviated[[:space:]]Documentation[[:space:]]and[[:space:]]Users[[:space:]]Guide.pdf filter=lfs diff=lfs merge=lfs -text
|
| 67 |
+
conjunction/nasa_cara/DistributedMatlab/CovarianceRealism/Documentation/Covariance[[:space:]]Realism[[:space:]]Evaluation[[:space:]]Approaches.pdf filter=lfs diff=lfs merge=lfs -text
|
| 68 |
+
conjunction/nasa_cara/DistributedMatlab/CovarianceRealism/Documentation/Covariance[[:space:]]Realism[[:space:]]Test[[:space:]]Results.pptx filter=lfs diff=lfs merge=lfs -text
|
| 69 |
+
conjunction/nasa_cara/DistributedMatlab/EphemerisPc/Example/EphemerisPc_Example.pptx filter=lfs diff=lfs merge=lfs -text
|
| 70 |
+
conjunction/nasa_cara/DistributedMatlab/EvaluateLightPollution/data/MMT/Iridium_2ndGen/output_with_distribution/Iridium_2ndGen_780km_Sc1_20210101_20210221_Ns15_Nt26_Nd15542_Nc3_AnalyzeMMTData.mat filter=lfs diff=lfs merge=lfs -text
|
| 71 |
+
conjunction/nasa_cara/DistributedMatlab/EvaluateLightPollution/data/MMT/OneWeb/output_with_distribution/OneWeb_1200km_Sc1_20210120_20210221_Ns43_Nt83_Nd57436_Nc3_AnalyzeMMTData.mat filter=lfs diff=lfs merge=lfs -text
|
| 72 |
+
conjunction/nasa_cara/DistributedMatlab/EvaluateLightPollution/data/MMT/Starlink_VisorSat/output_with_distribution/StarLink_VisorSat_550km_Sc1_20210101_20210221_Ns36_Nt46_Nd17245_Nc3_AnalyzeMMTData.mat filter=lfs diff=lfs merge=lfs -text
|
| 73 |
+
conjunction/nasa_cara/DistributedMatlab/EvaluateLightPollution/Documentation/EvaluateLightPollution_Description.pdf filter=lfs diff=lfs merge=lfs -text
|
| 74 |
+
conjunction/nasa_cara/DistributedMatlab/EvaluateLightPollution/Documentation/EvaluateLightPollution_Description.pptx filter=lfs diff=lfs merge=lfs -text
|
| 75 |
+
conjunction/nasa_cara/DistributedMatlab/EvaluateLightPollution/output_with_distribution/OneWebPhase1_IridiumAsAnalog/Iridium_2ndGen_1200km_Sc0.2568_20210101_20210221_Ns15_Nt26_Nd15542_Nc0_AnalyzeMMTData.mat filter=lfs diff=lfs merge=lfs -text
|
| 76 |
+
conjunction/nasa_cara/DistributedMatlab/EvaluateLightPollution/output_with_distribution/OneWebPhase2_MeasuredBrightness/OneWeb_1200km_Sc1_20210120_20210221_Ns43_Nt83_Nd57436_Nc0_AnalyzeMMTData.mat filter=lfs diff=lfs merge=lfs -text
|
| 77 |
+
conjunction/nasa_cara/DistributedMatlab/EvaluateLightPollution/output_with_distribution/OneWebPhase2_ReducedBrightness/OneWeb_1200km_Sc0.2089_20210120_20210221_Ns43_Nt83_Nd57436_Nc0_AnalyzeMMTData.mat filter=lfs diff=lfs merge=lfs -text
|
| 78 |
+
conjunction/nasa_cara/DistributedMatlab/EvaluateLightPollution/output_with_distribution/Starlink1stGen_MeasuredBrightness/StarLink_VisorSat_336km_Sc1_20210101_20210221_Ns36_Nt46_Nd17245_Nc0_AnalyzeMMTData.mat filter=lfs diff=lfs merge=lfs -text
|
| 79 |
+
conjunction/nasa_cara/DistributedMatlab/EvaluateLightPollution/output_with_distribution/Starlink1stGen_MeasuredBrightness/StarLink_VisorSat_341km_Sc1_20210101_20210221_Ns36_Nt46_Nd17245_Nc0_AnalyzeMMTData.mat filter=lfs diff=lfs merge=lfs -text
|
| 80 |
+
conjunction/nasa_cara/DistributedMatlab/EvaluateLightPollution/output_with_distribution/Starlink1stGen_MeasuredBrightness/StarLink_VisorSat_346km_Sc1_20210101_20210221_Ns36_Nt46_Nd17245_Nc0_AnalyzeMMTData.mat filter=lfs diff=lfs merge=lfs -text
|
| 81 |
+
conjunction/nasa_cara/DistributedMatlab/EvaluateLightPollution/output_with_distribution/Starlink1stGen_MeasuredBrightness/StarLink_VisorSat_540km_Sc1_20210101_20210221_Ns36_Nt46_Nd17245_Nc0_AnalyzeMMTData.mat filter=lfs diff=lfs merge=lfs -text
|
| 82 |
+
conjunction/nasa_cara/DistributedMatlab/EvaluateLightPollution/output_with_distribution/Starlink1stGen_MeasuredBrightness/StarLink_VisorSat_550km_Sc1_20210101_20210221_Ns36_Nt46_Nd17245_Nc0_AnalyzeMMTData.mat filter=lfs diff=lfs merge=lfs -text
|
| 83 |
+
conjunction/nasa_cara/DistributedMatlab/EvaluateLightPollution/output_with_distribution/Starlink1stGen_MeasuredBrightness/StarLink_VisorSat_560km_Sc1_20210101_20210221_Ns36_Nt46_Nd17245_Nc0_AnalyzeMMTData.mat filter=lfs diff=lfs merge=lfs -text
|
| 84 |
+
conjunction/nasa_cara/DistributedMatlab/EvaluateLightPollution/output_with_distribution/Starlink1stGen_MeasuredBrightness/StarLink_VisorSat_570km_Sc1_20210101_20210221_Ns36_Nt46_Nd17245_Nc0_AnalyzeMMTData.mat filter=lfs diff=lfs merge=lfs -text
|
| 85 |
+
conjunction/nasa_cara/DistributedMatlab/EvaluateLightPollution/output_with_distribution/Starlink2ndGen_MeasuredBrightness/StarLink_VisorSat_328km_Sc1_20210101_20210221_Ns36_Nt46_Nd17245_Nc0_AnalyzeMMTData.mat filter=lfs diff=lfs merge=lfs -text
|
| 86 |
+
conjunction/nasa_cara/DistributedMatlab/EvaluateLightPollution/output_with_distribution/Starlink2ndGen_MeasuredBrightness/StarLink_VisorSat_334km_Sc1_20210101_20210221_Ns36_Nt46_Nd17245_Nc0_AnalyzeMMTData.mat filter=lfs diff=lfs merge=lfs -text
|
| 87 |
+
conjunction/nasa_cara/DistributedMatlab/EvaluateLightPollution/output_with_distribution/Starlink2ndGen_MeasuredBrightness/StarLink_VisorSat_345km_Sc1_20210101_20210221_Ns36_Nt46_Nd17245_Nc0_AnalyzeMMTData.mat filter=lfs diff=lfs merge=lfs -text
|
| 88 |
+
conjunction/nasa_cara/DistributedMatlab/EvaluateLightPollution/output_with_distribution/Starlink2ndGen_MeasuredBrightness/StarLink_VisorSat_360km_Sc1_20210101_20210221_Ns36_Nt46_Nd17245_Nc0_AnalyzeMMTData.mat filter=lfs diff=lfs merge=lfs -text
|
| 89 |
+
conjunction/nasa_cara/DistributedMatlab/EvaluateLightPollution/output_with_distribution/Starlink2ndGen_MeasuredBrightness/StarLink_VisorSat_373km_Sc1_20210101_20210221_Ns36_Nt46_Nd17245_Nc0_AnalyzeMMTData.mat filter=lfs diff=lfs merge=lfs -text
|
| 90 |
+
conjunction/nasa_cara/DistributedMatlab/EvaluateLightPollution/output_with_distribution/Starlink2ndGen_MeasuredBrightness/StarLink_VisorSat_499km_Sc1_20210101_20210221_Ns36_Nt46_Nd17245_Nc0_AnalyzeMMTData.mat filter=lfs diff=lfs merge=lfs -text
|
| 91 |
+
conjunction/nasa_cara/DistributedMatlab/EvaluateLightPollution/output_with_distribution/Starlink2ndGen_MeasuredBrightness/StarLink_VisorSat_604km_Sc1_20210101_20210221_Ns36_Nt46_Nd17245_Nc0_AnalyzeMMTData.mat filter=lfs diff=lfs merge=lfs -text
|
| 92 |
+
conjunction/nasa_cara/DistributedMatlab/EvaluateLightPollution/output_with_distribution/Starlink2ndGen_MeasuredBrightness/StarLink_VisorSat_614km_Sc1_20210101_20210221_Ns36_Nt46_Nd17245_Nc0_AnalyzeMMTData.mat filter=lfs diff=lfs merge=lfs -text
|
| 93 |
+
conjunction/nasa_cara/DistributedMatlab/EventRate/data/OCMDB_43617_test_PcTable.mat filter=lfs diff=lfs merge=lfs -text
|
| 94 |
+
conjunction/nasa_cara/DistributedMatlab/EventRate/data/SplitFiles/PcTable_202509_Part01.mat filter=lfs diff=lfs merge=lfs -text
|
| 95 |
+
conjunction/nasa_cara/DistributedMatlab/EventRate/data/SplitFiles/PcTable_202509_Part02.mat filter=lfs diff=lfs merge=lfs -text
|
| 96 |
+
conjunction/nasa_cara/DistributedMatlab/EventRate/data/SplitFiles/PcTable_202509_Part03.mat filter=lfs diff=lfs merge=lfs -text
|
| 97 |
+
conjunction/nasa_cara/DistributedMatlab/EventRate/data/SplitFiles/PcTable_202509_Part04.mat filter=lfs diff=lfs merge=lfs -text
|
| 98 |
+
conjunction/nasa_cara/DistributedMatlab/EventRate/data/SplitFiles/PcTable_202509_Part05.mat filter=lfs diff=lfs merge=lfs -text
|
| 99 |
+
conjunction/nasa_cara/DistributedMatlab/EventRate/data/SplitFiles/Test_B_Part01.mat filter=lfs diff=lfs merge=lfs -text
|
| 100 |
+
conjunction/nasa_cara/DistributedMatlab/EventRate/data/SplitFiles/Test_B_Part02.mat filter=lfs diff=lfs merge=lfs -text
|
| 101 |
+
conjunction/nasa_cara/DistributedMatlab/EventRate/data/Test_A.mat filter=lfs diff=lfs merge=lfs -text
|
| 102 |
+
conjunction/nasa_cara/DistributedMatlab/EventRate/data/Test_C.mat filter=lfs diff=lfs merge=lfs -text
|
| 103 |
+
conjunction/nasa_cara/DistributedMatlab/EventRate/data/Test_D.mat filter=lfs diff=lfs merge=lfs -text
|
| 104 |
+
conjunction/nasa_cara/DistributedMatlab/EventRate/doc/EventRate_Description.pdf filter=lfs diff=lfs merge=lfs -text
|
| 105 |
+
conjunction/nasa_cara/DistributedMatlab/EventRate/doc/EventRate_Description.pptx filter=lfs diff=lfs merge=lfs -text
|
| 106 |
+
conjunction/nasa_cara/DistributedMatlab/EventRate/UnitTests/UnitTestData/UnitTest_output.mat filter=lfs diff=lfs merge=lfs -text
|
| 107 |
+
conjunction/nasa_cara/DistributedMatlab/Maximum2DPc/Documentation/SDK_Documentation_Maximum2DPc.docx filter=lfs diff=lfs merge=lfs -text
|
| 108 |
+
conjunction/nasa_cara/DistributedMatlab/Maximum2DPc/Documentation/SDK_Documentation_SingleCovarianceMaximumPc.docx filter=lfs diff=lfs merge=lfs -text
|
| 109 |
+
conjunction/nasa_cara/DistributedMatlab/ODQualityAssessment/Documentation/SDK_Documentation_ODQualityAssessment.docx filter=lfs diff=lfs merge=lfs -text
|
| 110 |
+
conjunction/nasa_cara/DistributedMatlab/ProbabilityOfCollision/Documentation/SDK_Documentation_PcMultiStepCalculations.docx filter=lfs diff=lfs merge=lfs -text
|
| 111 |
+
conjunction/nasa_cara/DistributedMatlab/ProbabilityOfCollision/Documentation/SDK_Documentation_TwoDimensionPcCalculations.docx filter=lfs diff=lfs merge=lfs -text
|
| 112 |
+
conjunction/nasa_cara/DistributedMatlab/ProbabilityOfCollision/SDMC_Utils/lib/libastroblkd.a filter=lfs diff=lfs merge=lfs -text
|
| 113 |
+
conjunction/nasa_cara/DistributedMatlab/ProbabilityOfCollision/SDMC_Utils/lib/libastrosupt.a filter=lfs diff=lfs merge=lfs -text
|
| 114 |
+
conjunction/nasa_cara/DistributedMatlab/ProbabilityOfCollision/SDMC_Utils/lib/libastrosuptts.a filter=lfs diff=lfs merge=lfs -text
|
| 115 |
+
conjunction/nasa_cara/DistributedMatlab/ProbabilityOfCollision/SDMC_Utils/lib/libsdmc.a filter=lfs diff=lfs merge=lfs -text
|
| 116 |
+
conjunction/nasa_cara/DistributedMatlab/ProbabilityOfCollision/SDMC_Utils/lib/libsdmc_linux.so filter=lfs diff=lfs merge=lfs -text
|
| 117 |
+
conjunction/nasa_cara/DistributedMatlab/ProbabilityOfCollision/SDMC_Utils/lib/libsdmc_win.dll filter=lfs diff=lfs merge=lfs -text
|
| 118 |
+
conjunction/nasa_cara/DistributedMatlab/ProbabilityOfCollision/SDMC_Utils/matlab_sdmc_wrapper.mexw64 filter=lfs diff=lfs merge=lfs -text
|
| 119 |
+
conjunction/nasa_cara/DistributedMatlab/ProbabilityOfCollision/SDMC_Utils/matlab_sdmc_wrapper_R2018a.mexa64 filter=lfs diff=lfs merge=lfs -text
|
| 120 |
+
conjunction/nasa_cara/DistributedMatlab/Utils/StateCovInterpolation/Documentation/Doyle_Hall_STM_Based_Covariance_Interpolation.pdf filter=lfs diff=lfs merge=lfs -text
|
MANIFEST.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
README.md
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
license_name: per-file
|
| 4 |
+
pretty_name: LittleBoy SpaceData
|
| 5 |
+
tags:
|
| 6 |
+
- space
|
| 7 |
+
- astrodynamics
|
| 8 |
+
- space-weather
|
| 9 |
+
- conjunction-assessment
|
| 10 |
+
- s-t-a-r
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
# LittleBoy SpaceData
|
| 14 |
+
|
| 15 |
+
The companion dataset of [LittleBoy](https://huggingface.co/STAR-future/LittleBoy): curated, licence-checked public data
|
| 16 |
+
for space engineering, ready for retrieval, fine-tuning and tool-grounded evaluation.
|
| 17 |
+
|
| 18 |
+
Every file is listed in `MANIFEST.json` with its source, licence, attribution and SHA-256. Where the original fetch
|
| 19 |
+
recorded checksums, each copy was verified against them.
|
| 20 |
+
|
| 21 |
+
## Contents
|
| 22 |
+
|
| 23 |
+
| Folder | What | Source | Licence |
|
| 24 |
+
|---|---|---|---|
|
| 25 |
+
| `catalogs/gcat` | Launch log and satellite catalogue: every orbital launch and object | GCAT, J. McDowell | CC BY 4.0 |
|
| 26 |
+
| `catalogs/exoplanets` | Composite planetary parameters | NASA Exoplanet Archive | public, with acknowledgement |
|
| 27 |
+
| `catalogs/small_bodies` | Near-Earth objects | JPL Small-Body Database | NASA/JPL public data |
|
| 28 |
+
| `space_weather/noaa` | F10.7, Kp, daily solar indices, GOES X-rays | NOAA SWPC | US Government work |
|
| 29 |
+
| `space_weather/radiation_belts` | GOES electron and proton fluxes, magnetometers | NOAA SWPC | US Government work |
|
| 30 |
+
| `space_weather/gfz` | Kp, ap and F10.7 since 1932 | GFZ, doi:10.5880/Kp.0001 | CC BY 4.0 |
|
| 31 |
+
| `conjunction/nasa_cara` | CARA analysis tools and data: Pc test conjunctions, covariance realism, event rates | NASA CARA | NASA Open Source Agreement |
|
| 32 |
+
| `crypto/nist_acvp` | ML-KEM (FIPS 203) validation vectors | NIST ACVP | public domain |
|
| 33 |
+
|
| 34 |
+
The GFZ file is a derivative: the sunspot-number column has been removed, because it carries a different
|
| 35 |
+
non-commercial licence (WDC-SILSO). All other files are byte copies.
|
| 36 |
+
|
| 37 |
+
## Fetched, not redistributed
|
| 38 |
+
|
| 39 |
+
Some of the most useful sources do not allow bulk redistribution. `fetch.py` downloads them from the provider, under
|
| 40 |
+
that provider's own terms:
|
| 41 |
+
|
| 42 |
+
- CelesTrak GP element sets (active objects, debris clouds, constellations);
|
| 43 |
+
- Gaia DR3 (CC BY-NC 3.0 IGO);
|
| 44 |
+
- Launch Library 2.
|
| 45 |
+
|
| 46 |
+
```bash
|
| 47 |
+
python fetch.py --out external
|
| 48 |
+
```
|
| 49 |
+
|
| 50 |
+
## Citation
|
| 51 |
+
|
| 52 |
+
Please cite each source as listed in `MANIFEST.json`, for example "data from GCAT (J. McDowell,
|
| 53 |
+
planet4589.org/space/gcat)". The dataset itself is maintained by S.T.A.R.
|
build_spacedata.py
ADDED
|
@@ -0,0 +1,121 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Assemble LittleBoy-SpaceData, the public companion dataset of LittleBoy (founder's decision, 2026-11-19: "dati
|
| 2 |
+
spaziali pubblici"), from Space STAR/02_DATA. ONLY sources whose licence allows redistribution are copied; each file
|
| 3 |
+
carries its source, licence and SHA-256 in MANIFEST.json, and is checked against the SHA256SUMS of its fetch where one
|
| 4 |
+
exists. Sources that may not be redistributed (CelesTrak/Space-Track TLEs, SupGP, Launch Library 2, Gaia DR3 = CC BY-NC,
|
| 5 |
+
CCSDS and arXiv documents, the third-party papers in NASA CARA/References) are NOT copied: fetch.py downloads them from
|
| 6 |
+
the original provider. Holdout benchmark data is never part of this dataset.
|
| 7 |
+
|
| 8 |
+
python tools/littleboy/build_spacedata.py --out <stage dir>
|
| 9 |
+
"""
|
| 10 |
+
import argparse
|
| 11 |
+
import hashlib
|
| 12 |
+
import json
|
| 13 |
+
import shutil
|
| 14 |
+
import sys
|
| 15 |
+
from pathlib import Path
|
| 16 |
+
|
| 17 |
+
DATA = Path(__file__).resolve().parents[3] / "Space STAR" / "02_DATA"
|
| 18 |
+
|
| 19 |
+
# (relative path in 02_DATA, destination folder, licence, attribution)
|
| 20 |
+
SOURCES = [
|
| 21 |
+
("data_003_gcat/currentcat.tsv", "catalogs/gcat", "CC-BY-4.0", "GCAT, J. McDowell, planet4589.org/space/gcat"),
|
| 22 |
+
("data_003_gcat/launchlog.tsv", "catalogs/gcat", "CC-BY-4.0", "GCAT, J. McDowell, planet4589.org/space/gcat"),
|
| 23 |
+
("public_batch_20261003/gcat_launch.tsv", "catalogs/gcat", "CC-BY-4.0", "GCAT, J. McDowell, planet4589.org/space/gcat"),
|
| 24 |
+
("public_batch_20261003/gcat_satcat.tsv", "catalogs/gcat", "CC-BY-4.0", "GCAT, J. McDowell, planet4589.org/space/gcat"),
|
| 25 |
+
("public_batch_20261003/exoplanets_pscomppars.csv", "catalogs/exoplanets", "NASA Exoplanet Archive, public",
|
| 26 |
+
"NASA Exoplanet Archive, operated by Caltech under contract with NASA"),
|
| 27 |
+
("public_batch_20261003/sbdb_neo.json", "catalogs/small_bodies", "NASA/JPL public data", "JPL Small-Body Database, NASA/JPL-Caltech"),
|
| 28 |
+
("public_batch_20261003/noaa_f107_monthly.json", "space_weather/noaa", "US Government work, public domain", "NOAA SWPC"),
|
| 29 |
+
("public_batch_20261003/noaa_kp_observed.json", "space_weather/noaa", "US Government work, public domain", "NOAA SWPC"),
|
| 30 |
+
("data_006_space_weather/daily-solar-indices.txt", "space_weather/noaa", "US Government work, public domain", "NOAA SWPC"),
|
| 31 |
+
("data_006_space_weather/xrays-7-day.json", "space_weather/noaa", "US Government work, public domain", "NOAA SWPC (GOES)"),
|
| 32 |
+
("data_007_radiation_belts/differential-electrons-7-day.json", "space_weather/radiation_belts", "US Government work, public domain", "NOAA SWPC (GOES)"),
|
| 33 |
+
("data_007_radiation_belts/differential-protons-7-day.json", "space_weather/radiation_belts", "US Government work, public domain", "NOAA SWPC (GOES)"),
|
| 34 |
+
("data_007_radiation_belts/integral-electrons-7-day.json", "space_weather/radiation_belts", "US Government work, public domain", "NOAA SWPC (GOES)"),
|
| 35 |
+
("data_007_radiation_belts/integral-protons-7-day.json", "space_weather/radiation_belts", "US Government work, public domain", "NOAA SWPC (GOES)"),
|
| 36 |
+
("data_007_radiation_belts/magnetometers-7-day.json", "space_weather/radiation_belts", "US Government work, public domain", "NOAA SWPC (GOES)"),
|
| 37 |
+
("external/nist_acvp/ML-KEM-encapDecap-FIPS203.json", "crypto/nist_acvp", "NIST, public domain", "NIST ACVP test vectors"),
|
| 38 |
+
("external/nist_acvp/ML-KEM-keyGen-FIPS203.json", "crypto/nist_acvp", "NIST, public domain", "NIST ACVP test vectors"),
|
| 39 |
+
]
|
| 40 |
+
CARA = ("external/nasa_cara", "conjunction/nasa_cara", "NASA Open Source Agreement (NOSA), see NOSA_*.pdf",
|
| 41 |
+
"NASA CARA Analysis Tools", {"DataFiles", "DistributedMatlab", "OpsSystemCapabilities"},
|
| 42 |
+
{"README.md", "NOSA_GSC-18593-1.pdf", "NOSA_GSC-18848-1.pdf", "NOSA_GSC-19027-1.pdf", "NOSA_GSC-19374-1.pdf"})
|
| 43 |
+
KP = "public_batch_20261003/gfz_kp_since_1932.txt" # the SN column is CC BY-NC 4.0 (WDC-SILSO): it is removed
|
| 44 |
+
|
| 45 |
+
|
| 46 |
+
def sha(p: Path) -> str:
|
| 47 |
+
h = hashlib.sha256()
|
| 48 |
+
with open(p, "rb") as f:
|
| 49 |
+
for c in iter(lambda: f.read(1 << 20), b""):
|
| 50 |
+
h.update(c)
|
| 51 |
+
return h.hexdigest()
|
| 52 |
+
|
| 53 |
+
|
| 54 |
+
def sums_of(folder: Path) -> dict:
|
| 55 |
+
f = folder / "SHA256SUMS.txt"
|
| 56 |
+
if not f.is_file():
|
| 57 |
+
return {}
|
| 58 |
+
return {ln.split()[1].lstrip("*"): ln.split()[0] for ln in f.read_text(encoding="utf-8").splitlines() if ln.strip()}
|
| 59 |
+
|
| 60 |
+
|
| 61 |
+
def kp_without_sn(src: Path, dst: Path) -> None:
|
| 62 |
+
"""Rewrite the GFZ file without the SN column: data rows lose field 25 (SN, after Ap), the header says so."""
|
| 63 |
+
out = []
|
| 64 |
+
for ln in src.read_text(encoding="utf-8").splitlines():
|
| 65 |
+
if ln.startswith("#"):
|
| 66 |
+
if "LICENSE" in ln:
|
| 67 |
+
ln = "# LICENSE: CC BY 4.0. Derived by S.T.A.R.: the sunspot number column (CC BY-NC 4.0, WDC-SILSO) has been removed."
|
| 68 |
+
elif ln.startswith("#YYY"):
|
| 69 |
+
ln = ln.replace(" SN ", " ")
|
| 70 |
+
out.append(ln)
|
| 71 |
+
continue
|
| 72 |
+
f = ln.split()
|
| 73 |
+
if len(f) != 28:
|
| 74 |
+
raise SystemExit(f"unexpected Kp row with {len(f)} fields: {ln[:60]}")
|
| 75 |
+
out.append(" ".join(f[:24] + f[25:]))
|
| 76 |
+
dst.write_text("\n".join(out) + "\n", encoding="utf-8", newline="\n")
|
| 77 |
+
|
| 78 |
+
|
| 79 |
+
def main(argv):
|
| 80 |
+
ap = argparse.ArgumentParser()
|
| 81 |
+
ap.add_argument("--out", required=True)
|
| 82 |
+
a = ap.parse_args(argv)
|
| 83 |
+
out = Path(a.out)
|
| 84 |
+
shutil.rmtree(out, ignore_errors=True)
|
| 85 |
+
files = []
|
| 86 |
+
for rel, dest, lic, attr in SOURCES:
|
| 87 |
+
src = DATA / rel
|
| 88 |
+
expected = sums_of(src.parent).get(src.name)
|
| 89 |
+
got = sha(src)
|
| 90 |
+
if expected and expected != got:
|
| 91 |
+
raise SystemExit(f"{rel}: sha256 {got} differs from its SHA256SUMS {expected}")
|
| 92 |
+
d = out / dest / src.name
|
| 93 |
+
d.parent.mkdir(parents=True, exist_ok=True)
|
| 94 |
+
shutil.copy2(src, d)
|
| 95 |
+
files.append({"path": d.relative_to(out).as_posix(), "source": rel, "licence": lic, "attribution": attr,
|
| 96 |
+
"sha256": got, "bytes": d.stat().st_size, "checked_against_fetch_sums": bool(expected)})
|
| 97 |
+
kd = out / "space_weather/gfz/kp_ap_f107_since_1932_noSN.txt"
|
| 98 |
+
kd.parent.mkdir(parents=True, exist_ok=True)
|
| 99 |
+
kp_without_sn(DATA / KP, kd)
|
| 100 |
+
files.append({"path": kd.relative_to(out).as_posix(), "source": KP + " (SN column removed)", "licence": "CC-BY-4.0",
|
| 101 |
+
"attribution": "Matzka et al., Geomagnetic Kp index, GFZ Data Services, doi:10.5880/Kp.0001",
|
| 102 |
+
"sha256": sha(kd), "bytes": kd.stat().st_size, "checked_against_fetch_sums": False})
|
| 103 |
+
rel, dest, lic, attr, dirs, top = CARA
|
| 104 |
+
base = DATA / rel
|
| 105 |
+
for p in sorted(base.rglob("*")):
|
| 106 |
+
r = p.relative_to(base)
|
| 107 |
+
if not p.is_file() or r.parts[0] == ".git" or not (r.parts[0] in dirs or (len(r.parts) == 1 and r.name in top)):
|
| 108 |
+
continue
|
| 109 |
+
d = out / dest / r
|
| 110 |
+
d.parent.mkdir(parents=True, exist_ok=True)
|
| 111 |
+
shutil.copy2(p, d)
|
| 112 |
+
files.append({"path": d.relative_to(out).as_posix(), "source": f"{rel}/{r.as_posix()}", "licence": lic, "attribution": attr,
|
| 113 |
+
"sha256": sha(d), "bytes": d.stat().st_size, "checked_against_fetch_sums": False})
|
| 114 |
+
man = {"schema": "star.littleboy.spacedata.v1", "files": len(files), "bytes": sum(f["bytes"] for f in files), "entries": files}
|
| 115 |
+
(out / "MANIFEST.json").write_text(json.dumps(man, indent=1) + "\n", encoding="utf-8")
|
| 116 |
+
print(json.dumps({"files": man["files"], "bytes": man["bytes"]}))
|
| 117 |
+
return 0
|
| 118 |
+
|
| 119 |
+
|
| 120 |
+
if __name__ == "__main__":
|
| 121 |
+
sys.exit(main(sys.argv[1:]))
|
catalogs/exoplanets/exoplanets_pscomppars.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:be21fbb9a68f18b47c24802e126e465429e6a32200e38efa785b028e31d256ce
|
| 3 |
+
size 82035907
|
catalogs/gcat/currentcat.tsv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e4b948c78dc8c87e1036cbce6d8dd5a162acb74637cf9807fc14c250c3db86f3
|
| 3 |
+
size 14366465
|
catalogs/gcat/gcat_launch.tsv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f4cad3868ca145cb9767dc8e8ae385c0f967bff7169f06e76e86b9650bfb0e91
|
| 3 |
+
size 13809053
|
catalogs/gcat/gcat_satcat.tsv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2e7e81d38cb3cc939f9301861310ce317e38b9c94489bde4222f1bc473ed5e51
|
| 3 |
+
size 19295705
|
catalogs/gcat/launchlog.tsv
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
catalogs/small_bodies/sbdb_neo.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
conjunction/nasa_cara/DataFiles/AlfanoInputData/Alfano_2009_Test_Cases/Alfano_2009_Supplementary_Data.xlsx
ADDED
|
Binary file (9.86 kB). View file
|
|
|
conjunction/nasa_cara/DataFiles/AlfanoInputData/Alfano_2009_Test_Cases/Case1 data at Epoch Time.xls
ADDED
|
Binary file (16.9 kB). View file
|
|
|
conjunction/nasa_cara/DataFiles/AlfanoInputData/Alfano_2009_Test_Cases/Case1 data at TCA.xls
ADDED
|
Binary file (17.4 kB). View file
|
|
|
conjunction/nasa_cara/DataFiles/AlfanoInputData/Alfano_2009_Test_Cases/Case10 data at Epoch Time.xls
ADDED
|
Binary file (18.9 kB). View file
|
|
|
conjunction/nasa_cara/DataFiles/AlfanoInputData/Alfano_2009_Test_Cases/Case10 data at TCA.xls
ADDED
|
Binary file (20 kB). View file
|
|
|
conjunction/nasa_cara/DataFiles/AlfanoInputData/Alfano_2009_Test_Cases/Case11 data at Epoch Time.xls
ADDED
|
Binary file (18.4 kB). View file
|
|
|
conjunction/nasa_cara/DataFiles/AlfanoInputData/Alfano_2009_Test_Cases/Case11 data at TCA.xls
ADDED
|
Binary file (19.5 kB). View file
|
|
|
conjunction/nasa_cara/DataFiles/AlfanoInputData/Alfano_2009_Test_Cases/Case12 data at Epoch Time.xls
ADDED
|
Binary file (18.4 kB). View file
|
|
|
conjunction/nasa_cara/DataFiles/AlfanoInputData/Alfano_2009_Test_Cases/Case12 data at TCA.xls
ADDED
|
Binary file (19.5 kB). View file
|
|
|
conjunction/nasa_cara/DataFiles/AlfanoInputData/Alfano_2009_Test_Cases/Case2 data at Epoch Time.xls
ADDED
|
Binary file (16.9 kB). View file
|
|
|
conjunction/nasa_cara/DataFiles/AlfanoInputData/Alfano_2009_Test_Cases/Case2 data at TCA.xls
ADDED
|
Binary file (17.4 kB). View file
|
|
|
conjunction/nasa_cara/DataFiles/AlfanoInputData/Alfano_2009_Test_Cases/Case3 data at Epoch Time.xls
ADDED
|
Binary file (16.9 kB). View file
|
|
|
conjunction/nasa_cara/DataFiles/AlfanoInputData/Alfano_2009_Test_Cases/Case3 data at TCA.xls
ADDED
|
Binary file (17.4 kB). View file
|
|
|
conjunction/nasa_cara/DataFiles/AlfanoInputData/Alfano_2009_Test_Cases/Case4 data at Epoch Time.xls
ADDED
|
Binary file (16.9 kB). View file
|
|
|
conjunction/nasa_cara/DataFiles/AlfanoInputData/Alfano_2009_Test_Cases/Case4 data at TCA.xls
ADDED
|
Binary file (17.4 kB). View file
|
|
|
conjunction/nasa_cara/DataFiles/AlfanoInputData/Alfano_2009_Test_Cases/Case5 data at Epoch Time.xls
ADDED
|
Binary file (16.9 kB). View file
|
|
|
conjunction/nasa_cara/DataFiles/AlfanoInputData/Alfano_2009_Test_Cases/Case5 data at TCA.xls
ADDED
|
Binary file (17.4 kB). View file
|
|
|
conjunction/nasa_cara/DataFiles/AlfanoInputData/Alfano_2009_Test_Cases/Case6 data at Epoch Time.xls
ADDED
|
Binary file (18.9 kB). View file
|
|
|
conjunction/nasa_cara/DataFiles/AlfanoInputData/Alfano_2009_Test_Cases/Case6 data at TCA.xls
ADDED
|
Binary file (20 kB). View file
|
|
|
conjunction/nasa_cara/DataFiles/AlfanoInputData/Alfano_2009_Test_Cases/Case7 data at Epoch Time.xls
ADDED
|
Binary file (18.9 kB). View file
|
|
|
conjunction/nasa_cara/DataFiles/AlfanoInputData/Alfano_2009_Test_Cases/Case7 data at TCA.xls
ADDED
|
Binary file (20 kB). View file
|
|
|
conjunction/nasa_cara/DataFiles/AlfanoInputData/Alfano_2009_Test_Cases/Case8 data at Epoch Time.xls
ADDED
|
Binary file (18.9 kB). View file
|
|
|
conjunction/nasa_cara/DataFiles/AlfanoInputData/Alfano_2009_Test_Cases/Case8 data at TCA.xls
ADDED
|
Binary file (20 kB). View file
|
|
|
conjunction/nasa_cara/DataFiles/AlfanoInputData/Alfano_2009_Test_Cases/Case9 data at Epoch Time.xls
ADDED
|
Binary file (18.9 kB). View file
|
|
|
conjunction/nasa_cara/DataFiles/AlfanoInputData/Alfano_2009_Test_Cases/Case9 data at TCA.xls
ADDED
|
Binary file (20 kB). View file
|
|
|
conjunction/nasa_cara/DataFiles/HBRMassEstimates/.gitignore
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Don't ever include these files in this directory
|
| 2 |
+
HBR_Mass_Estimates_*_Scrubbed.csv
|
| 3 |
+
HBR_Mass_Estimates_*_NotForDistribution.csv
|
conjunction/nasa_cara/DataFiles/HBRMassEstimates/01_Distribution_README.txt
ADDED
|
@@ -0,0 +1,205 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
This file provides some helpful information on the distribution and use of
|
| 2 |
+
NASA CARA hard body radius (HBR) and mass estimates. In addition, it provides
|
| 3 |
+
some instructions on merging NASA CARA HBR and mass estimates with ESA DISCOS
|
| 4 |
+
size and mass estimates.
|
| 5 |
+
|
| 6 |
+
================================================================================
|
| 7 |
+
Background:
|
| 8 |
+
|
| 9 |
+
The NASA CARA team uses RCS observation data from the Space Fence Kwajalein
|
| 10 |
+
(SFK) phased array sensor in order to estimate the size and mass of unknown
|
| 11 |
+
resident space objects. A rigorous filtering is performed which cleans the RCS
|
| 12 |
+
observation data from possible calibration issues and/or large departures from
|
| 13 |
+
monthly mean RCS data. Using NASA's Size Estimation Model (SEM), the cleaned
|
| 14 |
+
RCS data can then be used to estimate the sizes and masses of objects.
|
| 15 |
+
|
| 16 |
+
In addition to the RCS estimated outputs, NASA CARA has developed a lookup table
|
| 17 |
+
which includes CARA protected satellite values and European Space Agency (ESA)
|
| 18 |
+
Database and Information System Characterising Objects in Space (DISCOS)*
|
| 19 |
+
catalogs. If a resident space object does not appear in any of the
|
| 20 |
+
aforementioned lists, then default HBR and/or mass estimates are supplied.
|
| 21 |
+
Values within the lookup table are provided in descending order according to the
|
| 22 |
+
following priorities:
|
| 23 |
+
1. CARA Protected Primary
|
| 24 |
+
2. DISCOS DB
|
| 25 |
+
3. SFK RCS Estimate
|
| 26 |
+
4. Default
|
| 27 |
+
|
| 28 |
+
* Note: Space-Track was evaluated as a source for HBR data. It was decided not
|
| 29 |
+
to use it since the data is populated by individual operators and the
|
| 30 |
+
quality of HBR estimation varies from operator to operator.
|
| 31 |
+
|
| 32 |
+
* Note: Due to data licensing constraints, NASA CARA cannot provide DISCOS data
|
| 33 |
+
directly. However, a tool has been provided which will allow a user to
|
| 34 |
+
download the data from the DISCOS website (requires setup of a user
|
| 35 |
+
account) and merge the DISCOS data into the HBR and Mass lookup table.
|
| 36 |
+
|
| 37 |
+
For more information about the RCS estimation process, please review the
|
| 38 |
+
following references:
|
| 39 |
+
|
| 40 |
+
Baars, L., and Hall, D., "Processing Space Fence Radar Cross-Section Data to
|
| 41 |
+
Produce Size and Mass Estimates," AAS Astrodynamics Specialist Conference,
|
| 42 |
+
AAS Paper 22-586, Aug. 2022.
|
| 43 |
+
|
| 44 |
+
Hall, D., and Baars, L., "Satellite Collision and Fragmentation Probabilities
|
| 45 |
+
Using Radar-Based Size and Mass Estimates," Journal of Spacecraft and Rockets,
|
| 46 |
+
Volume 60, Issue 4, Jul. 2023, pg. 1319-1332.
|
| 47 |
+
|
| 48 |
+
================================================================================
|
| 49 |
+
Merging DISCOS Data:
|
| 50 |
+
|
| 51 |
+
As mentioned earlier, DISCOS data is not provided due to licensing constraints.
|
| 52 |
+
However, NASA CARA has developed a Matlab tool, MergDiscosData.m, which will
|
| 53 |
+
download sizing data from the DISCOS database and merge the data into the HBR
|
| 54 |
+
and mass estimates file. The files and directories required to run the tool
|
| 55 |
+
include:
|
| 56 |
+
|
| 57 |
+
- MergeDiscosData.m - Driver function which downloads and merges DISCOS data
|
| 58 |
+
into the CSV file passed in.
|
| 59 |
+
|
| 60 |
+
- connect_params_distrib.m - Contains connection parameters for the DISCOSweb
|
| 61 |
+
API, including personal access tokens to login
|
| 62 |
+
to the API.
|
| 63 |
+
|
| 64 |
+
- GetDiscosData.m - Actual software which downloads DISCOS data and calculates
|
| 65 |
+
HBR sizes based on shape information provided by DISCOS.
|
| 66 |
+
|
| 67 |
+
- DummyPasswordManager - Directory containing functions for a dummy password
|
| 68 |
+
manager.
|
| 69 |
+
|
| 70 |
+
- GetConnectionIdx.m - Retrieves the connection index from
|
| 71 |
+
connect_params_distrib for the connection name passed
|
| 72 |
+
in (for cases where multiple connections are defined
|
| 73 |
+
within the file).
|
| 74 |
+
|
| 75 |
+
- GetSecKey.m - Dummy function for getting a secret key.
|
| 76 |
+
|
| 77 |
+
- GetPassword.m - Dummy function for retrieving a password defined by a
|
| 78 |
+
connection parameters file.
|
| 79 |
+
|
| 80 |
+
Note: GetDiscosData.m is a function used by NASA CARA to retrieve DISCOS data
|
| 81 |
+
via automated processes. That software uses a password manager with
|
| 82 |
+
encryption techonology in order to prevent the storage of plain-text
|
| 83 |
+
passwords onto the file system. In order to prevent possible ITAR
|
| 84 |
+
restrictions, NASA CARA has replaced the dependency on encrypted password
|
| 85 |
+
storage with the supplied DummyPasswordManager. It is up to the end-user
|
| 86 |
+
to implement their own encrypted password storage mechanism if it is
|
| 87 |
+
required on their system.
|
| 88 |
+
|
| 89 |
+
--------------------------------------------------------------------------------
|
| 90 |
+
Setup Instructions:
|
| 91 |
+
|
| 92 |
+
1. Go to the DISCOSweb page and register for a new account:
|
| 93 |
+
https://discosweb.esoc.esa.int/
|
| 94 |
+
|
| 95 |
+
2. Once your DISCOSweb account is approved, sign into your account, click on
|
| 96 |
+
your name and then click on the "Access tokens" menu option.
|
| 97 |
+
|
| 98 |
+
a. On the Personal access tokens page, click on the "Generate new token"
|
| 99 |
+
button.
|
| 100 |
+
|
| 101 |
+
b. Give the token a name and click on the "Generate token" button.
|
| 102 |
+
|
| 103 |
+
c. *IMPORTANT* Copy the token displayed and save it off. The token will only
|
| 104 |
+
be displayed this one time and cannot be retrieved once you navigate away
|
| 105 |
+
from the page. If you lose this token you will have to revoke the token
|
| 106 |
+
and generate a new one.
|
| 107 |
+
|
| 108 |
+
Do not share your token with anyone else. Multiple people using the same
|
| 109 |
+
token can cause "TOO MANY REQUESTS" errors discussed below.
|
| 110 |
+
|
| 111 |
+
3. Open the connect_params_distrib.m file and replace the <replace with token>
|
| 112 |
+
text with the token you copied from the DISCOSweb page. Save the
|
| 113 |
+
connect_params_distrib.m file.
|
| 114 |
+
|
| 115 |
+
Your installation of the tool is now ready to download and merge DISCOS data.
|
| 116 |
+
The steps in this section should only have to be run once.
|
| 117 |
+
|
| 118 |
+
--------------------------------------------------------------------------------
|
| 119 |
+
Running the Merge Tool:
|
| 120 |
+
|
| 121 |
+
1. Download the latest HBR_Mass_Estimates_yyyymmdd_ForDistribution.csv file from
|
| 122 |
+
the NASA CARA GitHub site.
|
| 123 |
+
|
| 124 |
+
2. Open Matlab and run MergeDiscosData.m with the HBR/Mass estimates file name
|
| 125 |
+
(full or relative path is OK) as the only parameter.
|
| 126 |
+
|
| 127 |
+
3. If no DISCOS data CSV file exists with the same "yyyymmdd" date stamp, the
|
| 128 |
+
tool will download the DISCOS data into a file named
|
| 129 |
+
discos_data_yyyymmdd.csv. The file will exist in the same directory as the
|
| 130 |
+
HBR/Mass estimates file.
|
| 131 |
+
|
| 132 |
+
Note: This process will take a long time (~30 minutes in late 2023) due to
|
| 133 |
+
data throughput constraints imposed by the ESA website. If too much
|
| 134 |
+
data is requested within a minute, the website will respond with a
|
| 135 |
+
"TOO MANY REQUESTS" response and will not allow the token to be used
|
| 136 |
+
until the request timeout has occurred (usually 1 minute). In order to
|
| 137 |
+
prevent this from happening, the tool will automatically pause
|
| 138 |
+
processing for 1 minute after 20 pages of data have been requested. It
|
| 139 |
+
will then resume downloading another 20 pages of data and pause again.
|
| 140 |
+
This will continue until all pages have been downloaded from the DISCOS
|
| 141 |
+
website.
|
| 142 |
+
|
| 143 |
+
4. After the DISCOS data has been downloaded, the tool will merge the DISCOS
|
| 144 |
+
data into the HBR/Mass estimates file and create a file named
|
| 145 |
+
HBR_Mass_Estimates_yyyymmdd_Merged_NotForDistribution.csv. This file will be
|
| 146 |
+
written to the same directory as the original HBR/Mass inputs file.
|
| 147 |
+
|
| 148 |
+
Note: As part of signing up for the DISCOSweb account, the end-user falls
|
| 149 |
+
under the same licensing agreement for using and distributing DISCOS
|
| 150 |
+
data. The end-user is not allowed to redistribute the merged data,
|
| 151 |
+
hence the "NotForDistribution" tag that has been added to the file
|
| 152 |
+
name.
|
| 153 |
+
|
| 154 |
+
a. The outputs from the Merge process should look something like the
|
| 155 |
+
following:
|
| 156 |
+
|
| 157 |
+
>> MergeDiscosData('HBR_Mass_Estimates_20231101_ForDistribution.csv')
|
| 158 |
+
Downloading DISCOS data...success
|
| 159 |
+
Saved DISCOS data into file: discos_data_20231101.csv
|
| 160 |
+
Elapsed time is 2116.035076 seconds.
|
| 161 |
+
Merged 24383 HBR values from the DISCOS DB
|
| 162 |
+
Merged 25241 mass values from the DISCOS DB
|
| 163 |
+
Set 0 default HBR values due to missing or NaN DISCOS DB values
|
| 164 |
+
Set 0 default mass values due to missing or NaN DISCOS DB values
|
| 165 |
+
Wrote merged data into the file HBR_Mass_Estimates_20231101_Merged_NotForDistribution.csv
|
| 166 |
+
|
| 167 |
+
The "Set x default ..." lines indicate instances where the original CSV
|
| 168 |
+
file indicated that DISCOS data was supposed to be applied, but the query
|
| 169 |
+
from the DISCOS website did not retrieve valid HBR or mass data for the
|
| 170 |
+
object. This will occur more often when the date that the merge tool was
|
| 171 |
+
run is significantly different from the date stamp of the HBR and mass
|
| 172 |
+
estimates file.
|
| 173 |
+
|
| 174 |
+
This merge process should nominally be run once a month whenever a new HBR and
|
| 175 |
+
mass estimates file has been downloaded from the NASA CARA GitHub site.
|
| 176 |
+
|
| 177 |
+
================================================================================
|
| 178 |
+
Getting HBR and Mass Estimates:
|
| 179 |
+
|
| 180 |
+
The CARA NASA team has provided a convenient Matlab tool for retrieving HBR and
|
| 181 |
+
Mass estimates from the HBR/Mass estimates file, GetHBRMassEstimate.m. Simply
|
| 182 |
+
pass in the name of the merged HBR/Mass estimates file and a NORAD catalog ID
|
| 183 |
+
for the object in question and the tool will return HBR, HBRSigma, HBRSource,
|
| 184 |
+
Mass, MassSigma, and MassSource values for the object. See the documentation
|
| 185 |
+
within the tool for more information on the input and output values.
|
| 186 |
+
|
| 187 |
+
Possible data sources returned by the tool are the data sources described in the
|
| 188 |
+
background section above.
|
| 189 |
+
|
| 190 |
+
A particular use case would be to use the outputs from this tool in order to
|
| 191 |
+
supply the information needed to calculate the effective HBR as described in
|
| 192 |
+
equation 8 of [Baars and Hall, 2022]. The equation is provided here for
|
| 193 |
+
convenience.
|
| 194 |
+
|
| 195 |
+
effHBR = sqrt((Rbar_1 + Rbar_2)^2 + sigma_R1^2 + sigma_R2^2)
|
| 196 |
+
|
| 197 |
+
The HBR and HBRSigma values returned from the tool can be used as the Rbar and
|
| 198 |
+
sigma_R values in the equation, respectively. Specifically, the first call to
|
| 199 |
+
the tool would be for the primary satellite involved in the conjunction, thus
|
| 200 |
+
supplying Rbar_1 and sigma_R1 values. The second call to the tool would be for
|
| 201 |
+
the secondary satellite, providing the Rbar_2 and sigma_R2 values. Notably, if
|
| 202 |
+
the sigma value for the primary is 0, equation 8 reduces into equation 9 from
|
| 203 |
+
the same paper. If both the primary and secondary sigma values are 0, then the
|
| 204 |
+
equation reduces down to a simple combined HBR, which is the sum of the primary
|
| 205 |
+
HBR and secondary HBR.
|
conjunction/nasa_cara/DataFiles/HBRMassEstimates/DummyPasswordManager/GetConnectionIdx.m
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
function [idx] = GetConnectionIdx(connectionName, connParams)
|
| 2 |
+
% GetConnectionIdx - Gets the index for the connection matching the
|
| 3 |
+
% connection name passed in. If the connection name is
|
| 4 |
+
% not found in connParams, then an error is thrown.
|
| 5 |
+
%
|
| 6 |
+
% Usage: [idx] = GetConnectionIdx(connectionName, connParams)
|
| 7 |
+
%
|
| 8 |
+
% Inputs:
|
| 9 |
+
% connectionName - The name of the connection as defined in the
|
| 10 |
+
% connParams structure.
|
| 11 |
+
% connParams - (Optional) Connection parameters structure defining the
|
| 12 |
+
% connections and credential files to be used. If this
|
| 13 |
+
% parameter isn't entered, then it is assumed a
|
| 14 |
+
% "connect_params.m" file exists.
|
| 15 |
+
%
|
| 16 |
+
% Outputs:
|
| 17 |
+
% idx - Index for the connection matching the connection name.
|
| 18 |
+
|
| 19 |
+
if nargin == 1
|
| 20 |
+
connParams = connect_params;
|
| 21 |
+
end
|
| 22 |
+
connectionFound = false;
|
| 23 |
+
for i = 1:connParams.numConnections
|
| 24 |
+
if strcmp(connParams.conn(i).connectionName,connectionName)
|
| 25 |
+
connectionFound = true;
|
| 26 |
+
idx = i;
|
| 27 |
+
end
|
| 28 |
+
end
|
| 29 |
+
if ~connectionFound
|
| 30 |
+
error(['Could not find connection named ' connectionName]);
|
| 31 |
+
end
|
| 32 |
+
end
|
conjunction/nasa_cara/DataFiles/HBRMassEstimates/DummyPasswordManager/GetPassword.m
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
function [password] = GetPassword(connectionName, ~, connParams)
|
| 2 |
+
connidx = GetConnectionIdx(connectionName, connParams);
|
| 3 |
+
password = connParams.conn(connidx).password;
|
| 4 |
+
end
|
| 5 |
+
|
conjunction/nasa_cara/DataFiles/HBRMassEstimates/DummyPasswordManager/GetSecKey.m
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
function [secKey] = GetSecKey()
|
| 2 |
+
secKey = '';
|
| 3 |
+
end
|
| 4 |
+
|
conjunction/nasa_cara/DataFiles/HBRMassEstimates/GetDiscosData.m
ADDED
|
@@ -0,0 +1,343 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
function [discosData] = GetDiscosData(discosFile, connParams, excludeBackspaceInLogOutputs)
|
| 2 |
+
% GetDiscosData - Get DISCOS Data from DISCOS website
|
| 3 |
+
%
|
| 4 |
+
% Syntax:
|
| 5 |
+
%
|
| 6 |
+
% [discosData] = GetDiscosData(discosFile);
|
| 7 |
+
% [discosData] = GetDiscosData(discosFile, connParams);
|
| 8 |
+
% [discosData] = GetDiscosData(discosFile, connParams,excludeBackspaceInLogOutputs);
|
| 9 |
+
%
|
| 10 |
+
% =========================================================================
|
| 11 |
+
%
|
| 12 |
+
% Copyright (c) 2023-2025 United States Government as represented by the
|
| 13 |
+
% Administrator of the National Aeronautics and Space Administration.
|
| 14 |
+
% All Rights Reserved.
|
| 15 |
+
%
|
| 16 |
+
% =========================================================================
|
| 17 |
+
%
|
| 18 |
+
% Inputs:
|
| 19 |
+
%
|
| 20 |
+
% discosFile - Name of the file where downloaded DISCOS data should be
|
| 21 |
+
% stored. If the file exists and has data in it, then the
|
| 22 |
+
% data within the file is returned back to the calling
|
| 23 |
+
% function. Otherwise, the script will download the data
|
| 24 |
+
% from the DISCOS website, store that data into the
|
| 25 |
+
% discosFile, and return the data back to the calling
|
| 26 |
+
% function.
|
| 27 |
+
%
|
| 28 |
+
% connParams - (Optional) Connection parameters associated with
|
| 29 |
+
% connecting to the DISCOS website. If this parameter is not
|
| 30 |
+
% passed in, then it is assumed that the connection
|
| 31 |
+
% parameters are stored in the file connect_params.m.
|
| 32 |
+
%
|
| 33 |
+
% excludeBackspaceInLogOutputs - (Optional) When set to true, the log
|
| 34 |
+
% outputs produced by the tool will
|
| 35 |
+
% produce a running log. The default for
|
| 36 |
+
% this parameter is false, which will
|
| 37 |
+
% prevent the log data from flooding the
|
| 38 |
+
% screen.
|
| 39 |
+
%
|
| 40 |
+
% =========================================================================
|
| 41 |
+
%
|
| 42 |
+
% Outputs:
|
| 43 |
+
%
|
| 44 |
+
% discosData - An nx14 table containing information about each object
|
| 45 |
+
% retrieved from the DISCOS database. Field included are:
|
| 46 |
+
% ObjectID - Satellite Catalog NORAD catalog ID
|
| 47 |
+
% ObjectName - Common name for the object
|
| 48 |
+
% ObjectClass - Type of object as classified by DISCOS (e.g. Rocket
|
| 49 |
+
% Body, Payload, etc.)
|
| 50 |
+
% ObjectShape - Object shape as classified by DISCOS (e.g. Cyl, Sphere,
|
| 51 |
+
% Box, etc.)
|
| 52 |
+
% Width - DISCOS defined width, in meters (value is populated depending
|
| 53 |
+
% on the shape of the object)
|
| 54 |
+
% Height - DISCOS defined height, in meters (value is populated
|
| 55 |
+
% depending on the shape of the object)
|
| 56 |
+
% Depth - DISCOS defined depth, in meters (value is populated depending
|
| 57 |
+
% on the shape of the object)
|
| 58 |
+
% Diameter - DISCOS defined diameter, in meters (value is populated
|
| 59 |
+
% depending on the shape of the object)
|
| 60 |
+
% Span - DISCOS defined span, in meters. This is the maximum extent of
|
| 61 |
+
% any single dimension of the object.
|
| 62 |
+
% HBR - CARA calculated Hard Body Radius (HBR) based on the DISCOS
|
| 63 |
+
% provided dimension and shape parameters.
|
| 64 |
+
% MinCrossSection - DISCOS defined minimum cross sectional area, in m^2
|
| 65 |
+
% MaxCrossSection - DISCOS defined maximum cross sectional area, in m^2
|
| 66 |
+
% AvgCrossSection - DISCOS defined average cross sectional area, in m^2
|
| 67 |
+
% Mass - DISCOS defined mass, in kg
|
| 68 |
+
%
|
| 69 |
+
% =========================================================================
|
| 70 |
+
%
|
| 71 |
+
% Initial version: Sep 2021; Latest update: Aug 2025
|
| 72 |
+
%
|
| 73 |
+
% ----------------- BEGIN CODE -----------------
|
| 74 |
+
|
| 75 |
+
% Checka nd set default arguments
|
| 76 |
+
if nargin == 1
|
| 77 |
+
connParams = connect_params;
|
| 78 |
+
excludeBackspaceInLogOutputs = false;
|
| 79 |
+
elseif nargin == 2
|
| 80 |
+
excludeBackspaceInLogOutputs = false;
|
| 81 |
+
elseif nargin ~= 3
|
| 82 |
+
error('Invalid number of parameters passed in!');
|
| 83 |
+
end
|
| 84 |
+
|
| 85 |
+
% If the file exists, is not empty, and can be read then don't download
|
| 86 |
+
% it again
|
| 87 |
+
s = dir(discosFile);
|
| 88 |
+
if ~isempty(s) && s.bytes > 0
|
| 89 |
+
try
|
| 90 |
+
discosData = readtable(discosFile);
|
| 91 |
+
% If we got here, then we were able to read the file, no need
|
| 92 |
+
% to download it again
|
| 93 |
+
return;
|
| 94 |
+
catch
|
| 95 |
+
end
|
| 96 |
+
end
|
| 97 |
+
|
| 98 |
+
% Open and close the output file just to make sure we can write to it
|
| 99 |
+
% before we query the DISCOS website. The download from the website
|
| 100 |
+
% takes a long time to complete and we want to make sure that we can
|
| 101 |
+
% actually write to the output file before we run any of these queries.
|
| 102 |
+
try
|
| 103 |
+
fid = fopen(discosFile,'w');
|
| 104 |
+
fclose(fid);
|
| 105 |
+
catch me
|
| 106 |
+
error(['Could not open ' discosFile ' for writing: ' me.message]);
|
| 107 |
+
end
|
| 108 |
+
|
| 109 |
+
% Set URL and login credentials
|
| 110 |
+
connidx = GetConnectionIdx('DISCOS', connParams);
|
| 111 |
+
connHost = connParams.conn(connidx).conn_host;
|
| 112 |
+
baseURL = ['https://' connHost];
|
| 113 |
+
secKey = GetSecKey;
|
| 114 |
+
discosToken = GetPassword('DISCOS',secKey,connParams);
|
| 115 |
+
|
| 116 |
+
% Set query parameters
|
| 117 |
+
pageSize = 100; % maxes out at 100
|
| 118 |
+
page = 1; % get first page
|
| 119 |
+
queryString = [baseURL '/api/objects?filter=ne(satno,null)&sort=satno&page%%5Bsize%%5D=%d&page%%5Bnumber%%5D=%d'];
|
| 120 |
+
|
| 121 |
+
% Set the options for passing the DISCOS token and the DISCOS API
|
| 122 |
+
% version
|
| 123 |
+
options = weboptions('HeaderFields',{'Authorization' ['Bearer ' discosToken];'DiscosWeb-Api-Version' '2'});
|
| 124 |
+
|
| 125 |
+
% Begin the download process
|
| 126 |
+
startText = 'Downloading DISCOS data...';
|
| 127 |
+
disp([startText 'page 1 of ?']);
|
| 128 |
+
URL = sprintf(queryString,pageSize,page);
|
| 129 |
+
% The next line actually downloads the first page of data
|
| 130 |
+
tempData = webread(URL,options);
|
| 131 |
+
numDel = 12;
|
| 132 |
+
if isstruct(tempData)
|
| 133 |
+
% Get the total page number from the meta data, we can't get the
|
| 134 |
+
% total page number otherwise
|
| 135 |
+
totalPages = tempData.meta.pagination.totalPages;
|
| 136 |
+
% Calculate the total number of elements we'll retrieve and setup
|
| 137 |
+
% the memory to hold all of the data, we don't want these arrays
|
| 138 |
+
% increasing in size on each iteration
|
| 139 |
+
maxElems = totalPages * pageSize;
|
| 140 |
+
ObjectID = nan(maxElems,1);
|
| 141 |
+
ObjectName = cell(maxElems,1);
|
| 142 |
+
ObjectClass = cell(maxElems,1);
|
| 143 |
+
ObjectShape = cell(maxElems,1);
|
| 144 |
+
Width = nan(maxElems,1);
|
| 145 |
+
Height = nan(maxElems,1);
|
| 146 |
+
Depth = nan(maxElems,1);
|
| 147 |
+
Diameter = nan(maxElems,1);
|
| 148 |
+
Span = nan(maxElems,1);
|
| 149 |
+
MinCrossSection = nan(maxElems,1);
|
| 150 |
+
MaxCrossSection = nan(maxElems,1);
|
| 151 |
+
AvgCrossSection = nan(maxElems,1);
|
| 152 |
+
Mass = nan(maxElems,1);
|
| 153 |
+
idx = 1;
|
| 154 |
+
% Continue with the download process until we've retrieved all
|
| 155 |
+
% pages
|
| 156 |
+
while page <= totalPages
|
| 157 |
+
% Get the actual number of elements on the current page
|
| 158 |
+
numInStruct = length(tempData.data);
|
| 159 |
+
numInLoop = min(numInStruct,pageSize);
|
| 160 |
+
% Loop through all of the elements on the current page
|
| 161 |
+
for i = 1:numInLoop
|
| 162 |
+
% Save off the values for each element on the page
|
| 163 |
+
ObjectID(idx) = GetValidValue(tempData.data(i).attributes.satno);
|
| 164 |
+
ObjectName{idx} = tempData.data(i).attributes.name;
|
| 165 |
+
ObjectClass{idx} = tempData.data(i).attributes.objectClass;
|
| 166 |
+
ObjectShape{idx} = tempData.data(i).attributes.shape;
|
| 167 |
+
Width(idx) = GetValidValue(tempData.data(i).attributes.width);
|
| 168 |
+
Height(idx) = GetValidValue(tempData.data(i).attributes.height);
|
| 169 |
+
Depth(idx) = GetValidValue(tempData.data(i).attributes.depth);
|
| 170 |
+
Diameter(idx) = GetValidValue(tempData.data(i).attributes.diameter);
|
| 171 |
+
Span(idx) = GetValidValue(tempData.data(i).attributes.span);
|
| 172 |
+
MinCrossSection(idx) = GetValidValue(tempData.data(i).attributes.xSectMin);
|
| 173 |
+
MaxCrossSection(idx) = GetValidValue(tempData.data(i).attributes.xSectMax);
|
| 174 |
+
AvgCrossSection(idx) = GetValidValue(tempData.data(i).attributes.xSectAvg);
|
| 175 |
+
Mass(idx) = GetValidValue(tempData.data(i).attributes.mass);
|
| 176 |
+
% Increase the index in our allocated memory so we don't
|
| 177 |
+
% overwrite what we just saved
|
| 178 |
+
idx = idx + 1;
|
| 179 |
+
end
|
| 180 |
+
% Increase the page number and see if we need to continue
|
| 181 |
+
page = page + 1;
|
| 182 |
+
if page <= totalPages
|
| 183 |
+
% Some special handling for logging to an output file vs.
|
| 184 |
+
% writing to screen without filling up the output window
|
| 185 |
+
if excludeBackspaceInLogOutputs
|
| 186 |
+
bs = startText;
|
| 187 |
+
else
|
| 188 |
+
bs = repmat('\b',1,numDel);
|
| 189 |
+
end
|
| 190 |
+
pageTxt = ['page ' num2str(page) ' of ' num2str(totalPages)];
|
| 191 |
+
fprintf([bs '%s\n'], pageTxt);
|
| 192 |
+
numDel = length(pageTxt) + 1;
|
| 193 |
+
% Setup the URL for the next page query
|
| 194 |
+
URL = sprintf(queryString,pageSize,page);
|
| 195 |
+
try
|
| 196 |
+
% Try to download the next page
|
| 197 |
+
tempData = webread(URL,options);
|
| 198 |
+
catch
|
| 199 |
+
% We'll get a download error when we've requested for
|
| 200 |
+
% too much data in too short of an amount of time. This
|
| 201 |
+
% code will pause for 60 seconds and then attempt to
|
| 202 |
+
% redownload the page.
|
| 203 |
+
dispTxt = ' (pausing to prevent "TOO MANY REQUESTS" response)';
|
| 204 |
+
if excludeBackspaceInLogOutputs
|
| 205 |
+
fprintf('%s\n',dispTxt);
|
| 206 |
+
else
|
| 207 |
+
fprintf('\b%s\n',dispTxt);
|
| 208 |
+
end
|
| 209 |
+
numDel = numDel + length(dispTxt);
|
| 210 |
+
pause(60);
|
| 211 |
+
tempData = webread(URL,options);
|
| 212 |
+
end
|
| 213 |
+
% If no data was found, then we had problems downloading
|
| 214 |
+
% the data and just need to exit
|
| 215 |
+
if ~isstruct(tempData)
|
| 216 |
+
error(['Could not read page ' num2str(page) ' of ' num2str(totalPages) ' from ' connHost]);
|
| 217 |
+
end
|
| 218 |
+
end
|
| 219 |
+
end
|
| 220 |
+
else
|
| 221 |
+
error(['Could not read the first page from ' connHost]);
|
| 222 |
+
end
|
| 223 |
+
if excludeBackspaceInLogOutputs
|
| 224 |
+
fprintf('success\n');
|
| 225 |
+
else
|
| 226 |
+
bs = repmat('\b',1,numDel);
|
| 227 |
+
fprintf([bs 'success\n']);
|
| 228 |
+
end
|
| 229 |
+
|
| 230 |
+
% Calculate the HBR
|
| 231 |
+
numElems = idx - 1;
|
| 232 |
+
HBR = nan(maxElems, 1);
|
| 233 |
+
for i = 1:numElems
|
| 234 |
+
shape = lower(ObjectShape{i});
|
| 235 |
+
if isempty(shape)
|
| 236 |
+
continue;
|
| 237 |
+
end
|
| 238 |
+
x = Width(i);
|
| 239 |
+
y = Height(i);
|
| 240 |
+
z = Depth(i);
|
| 241 |
+
diam = Diameter(i);
|
| 242 |
+
span = Span(i);
|
| 243 |
+
if ~startsWith(shape,'sphere')
|
| 244 |
+
if ~isnan(x) && ~isnan(y) && ~isnan(z) && ~isnan(span)
|
| 245 |
+
% We assume that anything that has all four fields filled
|
| 246 |
+
% in will be enclosed either by the max extent defined by
|
| 247 |
+
% the x, y, and z dimensions or the span. Estimate the HBR
|
| 248 |
+
% from the max of these two values.
|
| 249 |
+
val1 = sqrt(x^2 + y^2 + z^2) / 2;
|
| 250 |
+
val2 = span / 2;
|
| 251 |
+
HBR(i) = max(val1, val2);
|
| 252 |
+
if strcmp(shape,'box') && val2 > val1
|
| 253 |
+
ObjectShape{i} = 'Box with extra span';
|
| 254 |
+
end
|
| 255 |
+
elseif (contains(shape,'cone') || contains(shape,'cyl')) && ~isnan(y) && ~isnan(diam)
|
| 256 |
+
if contains(shape,'cone')
|
| 257 |
+
% The max extent of a cone is from the tip of the cone
|
| 258 |
+
% (at diam/2) to the edge of the circle at the bottom
|
| 259 |
+
% of the cone
|
| 260 |
+
val1 = sqrt(y^2 + (diam/2)^2) / 2;
|
| 261 |
+
else
|
| 262 |
+
% The max extent of a cylinder is from the edge of the
|
| 263 |
+
% circle at the top of the cylinder to the opposite
|
| 264 |
+
% edge of the circle at the bottom of the cylinder
|
| 265 |
+
val1 = sqrt(y^2 + diam^2) / 2;
|
| 266 |
+
end
|
| 267 |
+
if ~isnan(span)
|
| 268 |
+
% Use the larger of the two values, the max extent
|
| 269 |
+
% calculated above, or the span
|
| 270 |
+
HBR(i) = max(val1, span / 2);
|
| 271 |
+
else
|
| 272 |
+
HBR(i) = val1;
|
| 273 |
+
end
|
| 274 |
+
elseif ~isnan(x) && ~isnan(y) && ~isnan(z)
|
| 275 |
+
% If span isn't defined and we haven't fallen into one of
|
| 276 |
+
% the other cases, use x, y, and z to estimate the HBR
|
| 277 |
+
HBR(i) = sqrt(x^2 + y^2 + z^2) / 2;
|
| 278 |
+
elseif ~isnan(span)
|
| 279 |
+
% If span is defined and we haven't calculated an HBR, use
|
| 280 |
+
% the span
|
| 281 |
+
HBR(i) = span / 2;
|
| 282 |
+
end
|
| 283 |
+
else
|
| 284 |
+
% For spherical and ellipsoidal objects, the HBR of the
|
| 285 |
+
% circumscribing sphere is half of the largest dimension
|
| 286 |
+
HBR(i) = max([x y z diam span]) / 2;
|
| 287 |
+
end
|
| 288 |
+
end
|
| 289 |
+
|
| 290 |
+
% Find indexes where we should cleanup the data in case DISCOS didn't
|
| 291 |
+
% provide some data for us
|
| 292 |
+
removeIdx = isnan(ObjectID) | (isnan(HBR) & isnan(Mass));
|
| 293 |
+
% Find objects in reserved ranges, remove those as well
|
| 294 |
+
removeIdx = removeIdx | (ObjectID >= 70000 & ObjectID <= 99999) | ...
|
| 295 |
+
(ObjectID >= 700000000 & ObjectID <= 999999999);
|
| 296 |
+
% Create a table based on the data that was read and calculated
|
| 297 |
+
discosData = table(ObjectID,ObjectName,ObjectClass,ObjectShape,Width,Height,Depth,Diameter,Span,HBR,MinCrossSection,MaxCrossSection,AvgCrossSection,Mass);
|
| 298 |
+
% Cleanup the data
|
| 299 |
+
discosData(removeIdx,:) = [];
|
| 300 |
+
writetable(discosData,discosFile);
|
| 301 |
+
disp(['Saved DISCOS data into file: ' discosFile]);
|
| 302 |
+
end
|
| 303 |
+
|
| 304 |
+
% Sets empty or zero values into NaN values. A size of zero is not valid in
|
| 305 |
+
% the context of sizing information, so we override it with a NaN.
|
| 306 |
+
function [validValue] = GetValidValue(value)
|
| 307 |
+
if isempty(value) || value == 0
|
| 308 |
+
validValue = nan;
|
| 309 |
+
else
|
| 310 |
+
validValue = value;
|
| 311 |
+
end
|
| 312 |
+
end
|
| 313 |
+
|
| 314 |
+
% ----------------- END OF CODE ------------------
|
| 315 |
+
%
|
| 316 |
+
% Please record any changes to the software in the change history
|
| 317 |
+
% shown below:
|
| 318 |
+
%
|
| 319 |
+
% ----------------- CHANGE HISTORY ------------------
|
| 320 |
+
% Developer | Date | Description
|
| 321 |
+
% ---------------------------------------------------
|
| 322 |
+
% L. Baars | 2021-Sep-08 | Initial Development.
|
| 323 |
+
% D. Hall | 2022-May-23 | Expanded output table to include other
|
| 324 |
+
% | | fields in addition to the HBR and Mass.
|
| 325 |
+
% L. Baars | 2023-Mar-01 | Added isCronJob feature, improved logging
|
| 326 |
+
% | | outputs, and added calculations of the HBR
|
| 327 |
+
% | | based on DISCOS reported shapes instead of
|
| 328 |
+
% | | just the span.
|
| 329 |
+
% L. Baars | 2023-Mar-30 | Simplified the shape-based HBR
|
| 330 |
+
% | | calculations.
|
| 331 |
+
% L. Baars | 2023-Mar-15 | Improved documentation for public release.
|
| 332 |
+
% | | Changed the isCronJob parameter to
|
| 333 |
+
% | | excludeBackspaceInLogOutputs.
|
| 334 |
+
% L. Baars | 2025-Aug-04 | Added a filter to remove objects within
|
| 335 |
+
% | | reserved object ID ranges.
|
| 336 |
+
|
| 337 |
+
% =========================================================================
|
| 338 |
+
%
|
| 339 |
+
% Copyright (c) 2023-2025 United States Government as represented by the
|
| 340 |
+
% Administrator of the National Aeronautics and Space Administration.
|
| 341 |
+
% All Rights Reserved.
|
| 342 |
+
%
|
| 343 |
+
% =========================================================================
|
conjunction/nasa_cara/DataFiles/HBRMassEstimates/GetHBRMassEstimate.m
ADDED
|
@@ -0,0 +1,188 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
function [hbr, hbrSigma, hbrSource, mass, massSigma, massSource] = GetHBRMassEstimate(hbrMassFile, objectID)
|
| 2 |
+
% GetHBRMassEstimate - Gets size and mass information from the HBR and mass
|
| 3 |
+
% file
|
| 4 |
+
%
|
| 5 |
+
% Syntax: [hbr, hbrSigma, hbrSource, mass, massSigma, massSource] = GetHBRMassEstimate(hbrMassFile, objectID);
|
| 6 |
+
%
|
| 7 |
+
% =========================================================================
|
| 8 |
+
%
|
| 9 |
+
% Copyright (c) 2023 United States Government as represented by the
|
| 10 |
+
% Administrator of the National Aeronautics and Space Administration.
|
| 11 |
+
% All Rights Reserved.
|
| 12 |
+
%
|
| 13 |
+
% =========================================================================
|
| 14 |
+
%
|
| 15 |
+
% Description:
|
| 16 |
+
%
|
| 17 |
+
% This method provides a convenient method for reading HBR and mass
|
| 18 |
+
% information from an HBR and mass file. It has special checking in place
|
| 19 |
+
% to indicate to a user that unmerged DISCOS data is used (causes the
|
| 20 |
+
% function to exit with errors) or if the object does not have HBR/Mass
|
| 21 |
+
% information or has invalid HBR/Mass information (both instances cause a
|
| 22 |
+
% warning message and provide default HBR and mass values).
|
| 23 |
+
%
|
| 24 |
+
% An end-user must pass in a merged HBR/Mass file that has been created
|
| 25 |
+
% by the MergeDiscosData.m process.
|
| 26 |
+
%
|
| 27 |
+
% =========================================================================
|
| 28 |
+
%
|
| 29 |
+
% Inputs:
|
| 30 |
+
%
|
| 31 |
+
% hbrMassFile - Name of the merged DISCOS HBR/Mass file.
|
| 32 |
+
%
|
| 33 |
+
% objectID - NORAD catalog ID for the desired satellite
|
| 34 |
+
%
|
| 35 |
+
% =========================================================================
|
| 36 |
+
%
|
| 37 |
+
% Outputs:
|
| 38 |
+
%
|
| 39 |
+
% hbr - Hard Body Radius (HBR) estimate of the satellite (in meters)
|
| 40 |
+
% hbrSigma - Standard deviation of the HBR estimate (in meters). Values
|
| 41 |
+
% are provided for hbrSource of 'SFK RCS Estimate', otherwise
|
| 42 |
+
% this value will be 0.
|
| 43 |
+
% hbrSource - Data source for the HBR estimate. Valid values are:
|
| 44 |
+
% CARA Protected Primary - HBR used for a NASA CARA mission
|
| 45 |
+
% DISCOS DB - HBR calculated from DISCOS size data
|
| 46 |
+
% SFK RCS Estimate - HBR estimated from Space Fence RCS
|
| 47 |
+
% data
|
| 48 |
+
% Default - The value that is provided if no other data
|
| 49 |
+
% sources are found for the object
|
| 50 |
+
% mass - Mass estimate of the satellite (in kg)
|
| 51 |
+
% massSigma - Standard deviation of the mass estimate (in kg). Values are
|
| 52 |
+
% provided for massSource of 'SFK RCS Estimate', otherwise
|
| 53 |
+
% this value will be 0.
|
| 54 |
+
% massSource - Data source for the Mass estimate. Valid values are the
|
| 55 |
+
% same as the HBR source.
|
| 56 |
+
% discosData - An nx14 table containing information about each object
|
| 57 |
+
% retrieved from the DISCOS database. Field included are:
|
| 58 |
+
%
|
| 59 |
+
% =========================================================================
|
| 60 |
+
%
|
| 61 |
+
% References:
|
| 62 |
+
%
|
| 63 |
+
% Baars, L., and Hall, D., "Processing Space Fence Radar Cross-Section
|
| 64 |
+
% Data to Produce Size and Mass Estimates," AAS Astrodynamics Specialist
|
| 65 |
+
% Conference, AAS Paper 22-586, Aug. 2022.
|
| 66 |
+
%
|
| 67 |
+
% Hall, D., and Baars, L., "Satellite Collision and Fragmentation
|
| 68 |
+
% Probabilities Using Radar-Based Size and Mass Estimates," Journal of
|
| 69 |
+
% Spacecraft and Rockets, Volume 60, Issue 4, Jul. 2023, pg. 1319-1332.
|
| 70 |
+
%
|
| 71 |
+
% =========================================================================
|
| 72 |
+
%
|
| 73 |
+
% Initial version: Nov 2023; Latest update: Oct 2024
|
| 74 |
+
%
|
| 75 |
+
% ----------------- BEGIN CODE -----------------
|
| 76 |
+
|
| 77 |
+
% Read in the HBR and mass table, but use persistent variables so that
|
| 78 |
+
% it only needs to occur once if the method is called again with the
|
| 79 |
+
% same hbrMassFile
|
| 80 |
+
persistent loadedFile hbrMassTable
|
| 81 |
+
discosSrcTxt = 'DISCOS DB';
|
| 82 |
+
if isempty(loadedFile) || ~strcmp(loadedFile, hbrMassFile)
|
| 83 |
+
hbrMassTable = readtable(hbrMassFile);
|
| 84 |
+
% Make sure the table has all the columns that we expect it to have
|
| 85 |
+
hbrCols = hbrMassTable.Properties.VariableNames;
|
| 86 |
+
if sum(ismember(hbrCols,'ObjectID')) == 0 || ...
|
| 87 |
+
sum(ismember(hbrCols,'HBR')) == 0 || ...
|
| 88 |
+
sum(ismember(hbrCols,'HBRSigma')) == 0 || ...
|
| 89 |
+
sum(ismember(hbrCols,'HBRSource')) == 0 || ...
|
| 90 |
+
sum(ismember(hbrCols,'Mass')) == 0 || ...
|
| 91 |
+
sum(ismember(hbrCols,'MassSigma')) == 0 || ...
|
| 92 |
+
sum(ismember(hbrCols,'MassSource')) == 0
|
| 93 |
+
error(['Table defined in ' hbrMassFile ' is not a valid HBR/Mass table!']);
|
| 94 |
+
end
|
| 95 |
+
% Make sure that there are no DISCOS entries that haven't been
|
| 96 |
+
% merged
|
| 97 |
+
discosHBRIdxs = strcmp(hbrMassTable.HBRSource, discosSrcTxt);
|
| 98 |
+
discosHBRs = hbrMassTable.HBR(discosHBRIdxs);
|
| 99 |
+
discosMassIdxs = strcmp(hbrMassTable.MassSource, discosSrcTxt);
|
| 100 |
+
discosMasses = hbrMassTable.Mass(discosMassIdxs);
|
| 101 |
+
if sum(isnan(discosHBRs)) > 0 || sum(isnan(discosMasses)) > 0
|
| 102 |
+
error(['Found unmerged DISCOS data within ' hbrMassFile '!' newline ...
|
| 103 |
+
'Please run the MergeDiscosData.m utility to create a merged HBR/Mass estimates file' newline ...
|
| 104 |
+
'and use that file as the input to this function.']);
|
| 105 |
+
end
|
| 106 |
+
loadedFile = hbrMassFile;
|
| 107 |
+
end
|
| 108 |
+
|
| 109 |
+
% Create the output Object ID string
|
| 110 |
+
objectIDStr = sprintf('%09d',objectID);
|
| 111 |
+
% Find the data for the object passed in
|
| 112 |
+
tempTable = hbrMassTable(hbrMassTable.ObjectID == objectID,:);
|
| 113 |
+
% Set variables for hardcoded values
|
| 114 |
+
defaultTxt = 'Default';
|
| 115 |
+
% Provide the defaults for "unknown" objects
|
| 116 |
+
defaultHBR = 1.1; % meters
|
| 117 |
+
defaultMass = 448.3; % kg
|
| 118 |
+
% Provide a warning and return default values if the object isn't found
|
| 119 |
+
if isempty(tempTable)
|
| 120 |
+
warning(['No HBR/Mass estimates for object ' objectIDStr ' found in ' hbrMassFile newline ...
|
| 121 |
+
'Providing default values for this object']);
|
| 122 |
+
hbr = defaultHBR;
|
| 123 |
+
hbrSigma = 0;
|
| 124 |
+
hbrSource = defaultTxt;
|
| 125 |
+
mass = defaultMass;
|
| 126 |
+
massSigma = 0;
|
| 127 |
+
massSource = defaultTxt;
|
| 128 |
+
return;
|
| 129 |
+
elseif height(tempTable) > 1
|
| 130 |
+
% Provide a warning if multiple versions of the object has been
|
| 131 |
+
% found in the table, only use the last instance of the object
|
| 132 |
+
warning(['Multiple rows for object ' objectIDStr ' found in ' hbrMassFile newline ...
|
| 133 |
+
'Using data from the last row in the table']);
|
| 134 |
+
tempTable = tempTable(end,:);
|
| 135 |
+
end
|
| 136 |
+
|
| 137 |
+
% Provide warnings if the HBR or mass information are NaN, this should
|
| 138 |
+
% never happen. Set these values to defaults.
|
| 139 |
+
if isnan(tempTable.HBR)
|
| 140 |
+
warning(['NaN HBR found for object ' objectIDStr ', setting the value to the default HBR (' num2str(defaultHBR) ' m)']);
|
| 141 |
+
tempTable.HBR = defaultHBR;
|
| 142 |
+
tempTable.HBRSigma = 0;
|
| 143 |
+
tempTable.HBRSource{1} = defaultTxt;
|
| 144 |
+
end
|
| 145 |
+
if isnan(tempTable.Mass)
|
| 146 |
+
warning(['NaN Mass found for object ' objectIDStr ', setting the value to the default Mass (' num2str(defaultMass) ' kg)']);
|
| 147 |
+
tempTable.Mass = defaultMass;
|
| 148 |
+
tempTable.MassSigma = 0;
|
| 149 |
+
tempTable.MassSource{1} = defaultTxt;
|
| 150 |
+
end
|
| 151 |
+
% Provide warnings and set to 0 and sigma values that are NaN
|
| 152 |
+
if isnan(tempTable.HBRSigma)
|
| 153 |
+
warning(['NaN HBR sigma found for object ' objectIDStr ', setting the sigma to 0']);
|
| 154 |
+
tempTable.HBRSigma = 0;
|
| 155 |
+
end
|
| 156 |
+
if isnan(tempTable.MassSigma)
|
| 157 |
+
warning(['NaN Mass sigma found for object ' objectIDStr ', setting the sigma to 0']);
|
| 158 |
+
tempTable.MassSigma = 0;
|
| 159 |
+
end
|
| 160 |
+
|
| 161 |
+
% Return the data that was found.
|
| 162 |
+
hbr = tempTable.HBR;
|
| 163 |
+
hbrSigma = tempTable.HBRSigma;
|
| 164 |
+
hbrSource = tempTable.HBRSource{1};
|
| 165 |
+
mass = tempTable.Mass;
|
| 166 |
+
massSigma = tempTable.MassSigma;
|
| 167 |
+
massSource = tempTable.MassSource{1};
|
| 168 |
+
end
|
| 169 |
+
|
| 170 |
+
% ----------------- END OF CODE ------------------
|
| 171 |
+
%
|
| 172 |
+
% Please record any changes to the software in the change history
|
| 173 |
+
% shown below:
|
| 174 |
+
%
|
| 175 |
+
% ----------------- CHANGE HISTORY ------------------
|
| 176 |
+
% Developer | Date | Description
|
| 177 |
+
% ---------------------------------------------------
|
| 178 |
+
% L. Baars | 2023-Nov-15 | Initial Development.
|
| 179 |
+
% L. Baars | 2024-Oct-09 | Updated the defaults to use the "unknown"
|
| 180 |
+
% type instead of the "debris" type.
|
| 181 |
+
|
| 182 |
+
% =========================================================================
|
| 183 |
+
%
|
| 184 |
+
% Copyright (c) 2023 United States Government as represented by the
|
| 185 |
+
% Administrator of the National Aeronautics and Space Administration.
|
| 186 |
+
% All Rights Reserved.
|
| 187 |
+
%
|
| 188 |
+
% =========================================================================
|
conjunction/nasa_cara/DataFiles/HBRMassEstimates/HBR_Mass_Estimates_20240501_ForDistribution.csv
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
conjunction/nasa_cara/DataFiles/HBRMassEstimates/HBR_Mass_Estimates_20240711_ForDistribution.csv
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
conjunction/nasa_cara/DataFiles/HBRMassEstimates/HBR_Mass_Estimates_20240801_ForDistribution.csv
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
conjunction/nasa_cara/DataFiles/HBRMassEstimates/HBR_Mass_Estimates_20240901_ForDistribution.csv
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
conjunction/nasa_cara/DataFiles/HBRMassEstimates/HBR_Mass_Estimates_20241001_ForDistribution.csv
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
conjunction/nasa_cara/DataFiles/HBRMassEstimates/HBR_Mass_Estimates_20241101_ForDistribution.csv
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
conjunction/nasa_cara/DataFiles/HBRMassEstimates/HBR_Mass_Estimates_20241201_ForDistribution.csv
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
conjunction/nasa_cara/DataFiles/HBRMassEstimates/HBR_Mass_Estimates_20250101_ForDistribution.csv
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|