Comments (6)
Leading zeros are missing in the NORAD ID (column 2 of lines 1 and 2)
@cbassa I referenced https://www.celestrak.com/columns/v04n03/ when looking that the format...
The following paragraph would imply that leading spaces are equally valid as leading zeros. Can you cite a differing documented standard?
In general, any number smaller than the maximum field size can be padded with either leading spaces or leading zeros. In other words, an epoch can be represented as either 98001.12345678 or 98 1.12345678 or an inclination can be represented as 28.1234 or 028.1234. Convention uses leading zeros for fields 1.5 and 1.8 and leading spaces elsewhere, but either is valid.
from trusat-orbit.
The following TLEs are from the trusat_all.txt
file.
- Leading zeros are missing in the NORAD ID (column 2 of lines 1 and 2)
THOR AGENA B R/B
1 426U 62049B 19314.15693840 .00000035 00000-0 30117-4 0 9991
2 426 80.4674 128.9182 0017469 322.6928 86.6998 13.68469214850938
0 THOR ABLESTAR R/B
1 447T 62060B 19327.07209049 -0.00000132 00000-0 -76033-5 0 07
2 00447 50.1269 247.2660 0065647 207.1981 239.7222 13.39040675791001
Note also the U for 00426 and the T for 00447.
- Some satellites have negative inclination (take the absolute value and increment RAAN by 180 deg)
0 WGS 4
1 38070T 12003A 19267.68864583 0.00000000 00000-0 00000-0 0 00
2 38070 -0.3897 82.1429 0004204 215.3954 41.9143 0.92793498 06
- The first derivative of mean motion (column 5 of line 1) has no leading 0. This offsets later columns by one character, leading to bad predictions
1 2825T 67053B 19326.73660876 -0.00000017 00000-0 22976-4 0 04
1 NNNNNC NNNNNAAA NNNNN.NNNNNNNN +.NNNNNNNN +NNNNN-N +NNNNN-N N NNNNN
from trusat-orbit.
Leading zeros are missing in the NORAD ID (column 2 of lines 1 and 2)
@cbassa I referenced https://www.celestrak.com/columns/v04n03/ when looking that the format...
The following paragraph would imply that leading spaces are equally valid as leading zeros. Can you cite a differing documented standard?
In general, any number smaller than the maximum field size can be padded with either leading spaces or leading zeros. In other words, an epoch can be represented as either 98001.12345678 or 98 1.12345678 or an inclination can be represented as 28.1234 or 028.1234. Convention uses leading zeros for fields 1.5 and 1.8 and leading spaces elsewhere, but either is valid.
Fair enough about leading zeros on the NORAD catalogue ID. I note that the SGP4 library by Paul Crawford that I use for sattools
requires the leading zeros: https://github.com/cbassa/sattools/blob/master/satutl.c#L68
My personal preference would be to include the leading zeros, though I can easily add them if required, which I do for the space-track catalog: https://github.com/cbassa/sattools/blob/master/tleupdate#L34
from trusat-orbit.
My personal preference would be to include the leading zeros
Will probably do so - noting that they were inconsistently formatted in the code:
Formatting for TLEs with a "U" classification code is as-received from the source. A separate bug is open for making sure that those don't end up in the exported TLEs. TruSat/trusat-backend#81
from trusat-orbit.
@cbassa I think this is fixed now - All the Trusat TLEs have been updated, and I've also added leading zeros to the external TLEs which are currently in the catalog results. Thanks for the heads up!
from trusat-orbit.
The TLEs from trusat_all.txt now load and show correctly in skymap. Thanks!
from trusat-orbit.
Related Issues (20)
- elfind.py and satid.py depend on v1_4 python-sgp4
- Legitamate IOD formats are not being accepted HOT 2
- IOD regex rejecting seemingly valid entries HOT 1
- International Designators are not handled properly with analyst objects HOT 1
- Setting bstar = 0 does not work
- iod.parse_iod_line() breaks when seconds are passed the expected boundaries of 0-59
- Add creation of epoch_year and epoch_day variables when initialized from satrec
- Implement algorithm to derive approximate orbit number when not provided from TLE
- Angle parsing should handle Epoch=0 when provided AZ/EL observation
- Add in derived values for ndot and nddot if not obtained from TLE
- Create routine to calculate local time of observation
- Implement weighting for individual IODs for both orbit-fit and rms-reporting
- Create subroutine to identify observation clusters
- Create ability to plot value of elements over time
- Explore move_epoch_to_jd_new() as a mechanism to determine quality of satobs fit
- new_rde_data_line_re.search() stalls HOT 2
- Angle Regex catches too wide angles
- Finish iod.py:write_uk_line() functionality
- Restore IOD-file processing workflow in satfit.py:main()
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from trusat-orbit.