thrustcurve-db
Advanced tools
Comparing version 0.3.1 to 0.3.2
{ | ||
"name": "thrustcurve-db", | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"type": "module", | ||
@@ -5,0 +5,0 @@ "description": "ThrustCurve.org model rocket motor and thrust curve data as a single JSON file", |
# thrustcurve-db | ||
ThrustCurve.org model rocket motor data as a single data structure, (plus misc | ||
ThrustCurve.org model rocket motor data as a static data structure (plus misc. | ||
utility functions). | ||
This module is rebundling of the rocket motor data available on John Coker's | ||
exceptional [thrustcurve.org](https://thrustcurve.org) website ("TC"). Specifically, | ||
it is a JSON file produced by doing the following: | ||
* Fetch data for all motors from the [ThrustCurve API](https://www.thrustcurve.org/info/api.html) | ||
* Fetch all available thrust sample files for each motor. Picks the best | ||
("best") file and normalizes to a consistent format. (Basically just insuring it starts with a `[0, 0]` sample) | ||
* Normalize the `delays` value to numeric values and ranges, or "P"lugged. | ||
This module is a rebundling of the rocket motor data available on John Coker's | ||
[thrustcurve.org](https://thrustcurve.org) website ("TC"). The dataset includes data for all motors in the [ThrustCurve API](https://www.thrustcurve.org/info/api.html) ("search" endpoint). And, where available, thrust samples (`samples`). | ||
Note: Some motors have multiple thrust sample files. A best-effort is made to pick the most accurate one, but `samples` data should be treated as possibly out-of-date and/or uncertified. | ||
**License & Support** | ||
@@ -15,0 +12,0 @@ |
11
util.js
@@ -40,7 +40,8 @@ /** | ||
// Aerotech letter-delays | ||
case v === 'S': v = '0-6'; break; | ||
case v === 'M': v = '0-10'; break; | ||
case v === 'L': v = '0-14'; break; | ||
case v === 'X': v = '0-18'; break; | ||
// Aerotech letter-delays. The Aerotech delay drilling tool can remove up | ||
// to 8 seconds of delay in 2-second increments | ||
case v === 'S': v = '0,2,4,6'; break; | ||
case v === 'M': v = '2,4,6,8,10'; break; | ||
case v === 'L': v = '6,8,10,12,14'; break; | ||
case v === 'X': v = '10,12,14,16,18'; break; | ||
} | ||
@@ -47,0 +48,0 @@ |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1735151
120620
66