Title: Documentation Issues: Atmospheric Model, Colab Links, CSV Thrust Curves, Parachute Triggers, Flight Variables, and Dependency Notes
Environment:
- Python 3.14.0, RocketPy 1.10.0, macOS
- Jupyter Notebook in
venv (~/RocketPy/rocketpy/venv)
Issue:
- Invalid Atmospheric Model: Tutorial uses
env.set_atmospheric_model(type="Standard"), causing ValueError: Unknown model type 'standard'. Correct type is standard_atmosphere (lowercase).
- Colab Notebook Link Error: Docs link to
.html (e.g., https://colab.research.google.com/github/RocketPy-Team/rocketpy/blob/master/docs/notebooks/environment/environment_class_usage.html) fails with "Could not find environment_class_usage.html". Correct is .ipynb.
- 404 Error: Tutorial implies
keron_thrust_curve.csv at ../data/motors/projeto-jupiter/, but main branch URLs yield "404: Not Found". Correct branch is master.
- Impulse Mismatch: Tutorial expects ~1403 Ns.
keron_thrust_curve.csv yields 1403.183 Ns (max 1068.36 N at 1.508 s, spiky). mandioca_thrust_curve.csv yields 7568.587 Ns (max 2606 N at 3.258 s, smoother).
- Duplicate Files: Initially,
keron and mandioca CSVs were identical (4689 bytes). Fixed by redownloading keron (2849 bytes, e.g., 0,3.8).
- Parachute Warnings:
keron simulation had warnings: "Trying to add flight phase starting together/after the one proceeding it" due to main (800 m) and drogue (apogee) triggering at 8.419 s. Fixed with main trigger at 600 m.
- Invalid Flight Variable:
Flight.export_data with vertical_velocity causes AttributeError: Variable 'vertical_velocity' not found in Flight class. Correct variable is vz.
- Missing Dependency:
pandas not included in RocketPy’s default dependencies, causing ModuleNotFoundError. Fixed by installing jupyter and pandas in venv.
- Export Column Error:
Flight.export_data CSV uses # Time (s) (not time) and adds spaces in column names (e.g., Vz (m/s)), causing KeyError. Using CSV column names (e.g., Altitude AGL (m)) in export_data causes AttributeError; needs altitude, speed, vz. Flight.export_data deprecated; use FlightDataExporter.
- FlightDataExporter Error:
FlightDataExporter.export_data() raised TypeError with variables=["altitude", "speed", "vz"]; fixed with altitude, speed, vz as positional arguments. CSV uses # Time (s) (not Time), causing KeyError.
Steps to Reproduce:
- Ran simulation with
type="Standard": ValueError. Fixed with type="standard_atmosphere".
- Tried Colab link: "Could not find environment_class_usage.html".
- Ran
curl with main: "404: Not Found".
- API check (
curl https://api.github.com/repos/RocketPy-Team/RocketPy/contents/data/motors/projeto-jupiter?ref=master): Confirmed files in master.
- Downloaded CSVs: Initially identical. Redownloaded
keron: Distinct data.
- Ran
SolidMotor: keron 1403.183 Ns (spiky); mandioca 7568.587 Ns (smooth).
- Ran
keron simulation: Parachute warnings. Fixed with main trigger at 600 m.
- Ran
mandioca simulation: 4310.649 m AGL apogee, 368.021 m/s max speed, stable 2.194-3.844 c, no warnings.
- Ran
export_data with vertical_velocity: AttributeError. Fixed with vz.
- Ran CSV read with
pandas: ModuleNotFoundError. Fixed with pip install jupyter pandas in venv.
- Ran
export_data and filtered CSV with df['time']: KeyError. Fixed with df['# Time (s)'].
- Ran
export_data with Altitude AGL (m): AttributeError. Fixed with altitude.
- Plotted CSV with
df['Vz (m/s)']: KeyError. Fixed with df[' Vz (m/s)'].
- Ran
FlightDataExporter with variables=["altitude", "speed", "vz"]: TypeError. Fixed with altitude, speed, vz.
- Ran
FlightDataExporter and filtered with df['Time']: KeyError. Fixed with df['# Time (s)'].
Expected:
- Docs use
standard_atmosphere.
- Colab links to
.ipynb.
master URLs.
- CSVs distinct; impulse matches.
- Parachutes trigger sequentially.
Flight.export_data uses vz.
pandas and jupyter in venv.
- CSV has
# Time (s), Vz (m/s); FlightDataExporter works with positional arguments.
Actual:
Standard invalid; needs standard_atmosphere.
.html links fail.
main 404s.
- CSVs initially identical.
mandioca impulse 7568.587 Ns.
- Parachute warnings at 800 m.
vertical_velocity invalid; needs vz.
pandas missing until installed in venv.
- CSV uses
# Time (s), Vz (m/s); Altitude AGL (m) invalid in export_data.
FlightDataExporter fails with variables list; uses # Time (s).
Suggested Fix:
- Change "Standard" to
standard_atmosphere.
- Update Colab links to
.ipynb.
- Use
master URLs.
- Ensure
keron and mandioca CSVs differ.
- Update impulse for
mandioca.
- Set
main parachute trigger to 600 m.
- Update
Flight.export_data docs to list vz.
- Note
pandas and jupyter as dependencies in venv.
- Clarify CSV column names (
# Time (s), Vz (m/s) vs. Time, Vz).
- Update tutorial to use
FlightDataExporter with altitude, speed, vz and filter with # Time (s).
- Recommend
FlightDataExporter over Flight.export_data.
Additional Notes:
- Workaround: Local Jupyter with
standard_atmosphere; redownload CSVs with master; use vz; install jupyter and pandas in venv; use FlightDataExporter with altitude, speed, vz; filter with df['# Time (s)']; plot with df[' Vz (m/s)'].
keron (1403 Ns, spiky) suits heavy payloads in lower LEO; mandioca (7568 Ns, smooth, 4310.649 m AGL apogee, -5.457 m/s impact) suits high-altitude, light payloads.
- Debugging at odd hours feels like a lunar mission! Happy to test or share plots.
Title: Documentation Issues: Atmospheric Model, Colab Links, CSV Thrust Curves, Parachute Triggers, Flight Variables, and Dependency Notes
Environment:
venv(~/RocketPy/rocketpy/venv)Issue:
env.set_atmospheric_model(type="Standard"), causingValueError: Unknown model type 'standard'. Correct type isstandard_atmosphere(lowercase)..html(e.g., https://colab.research.google.com/github/RocketPy-Team/rocketpy/blob/master/docs/notebooks/environment/environment_class_usage.html) fails with "Could not find environment_class_usage.html". Correct is.ipynb.keron_thrust_curve.csvat../data/motors/projeto-jupiter/, butmainbranch URLs yield "404: Not Found". Correct branch ismaster.keron_thrust_curve.csvyields 1403.183 Ns (max 1068.36 N at 1.508 s, spiky).mandioca_thrust_curve.csvyields 7568.587 Ns (max 2606 N at 3.258 s, smoother).keronandmandiocaCSVs were identical (4689 bytes). Fixed by redownloadingkeron(2849 bytes, e.g.,0,3.8).keronsimulation had warnings: "Trying to add flight phase starting together/after the one proceeding it" due tomain(800 m) anddrogue(apogee) triggering at 8.419 s. Fixed withmaintrigger at 600 m.Flight.export_datawithvertical_velocitycausesAttributeError: Variable 'vertical_velocity' not found in Flight class. Correct variable isvz.pandasnot included in RocketPy’s default dependencies, causingModuleNotFoundError. Fixed by installingjupyterandpandasinvenv.Flight.export_dataCSV uses# Time (s)(nottime) and adds spaces in column names (e.g.,Vz (m/s)), causingKeyError. Using CSV column names (e.g.,Altitude AGL (m)) inexport_datacausesAttributeError; needsaltitude,speed,vz.Flight.export_datadeprecated; useFlightDataExporter.FlightDataExporter.export_data()raisedTypeErrorwithvariables=["altitude", "speed", "vz"]; fixed withaltitude,speed,vzas positional arguments. CSV uses# Time (s)(notTime), causingKeyError.Steps to Reproduce:
type="Standard":ValueError. Fixed withtype="standard_atmosphere".curlwithmain: "404: Not Found".curl https://api.github.com/repos/RocketPy-Team/RocketPy/contents/data/motors/projeto-jupiter?ref=master): Confirmed files inmaster.keron: Distinct data.SolidMotor:keron1403.183 Ns (spiky);mandioca7568.587 Ns (smooth).keronsimulation: Parachute warnings. Fixed withmaintrigger at 600 m.mandiocasimulation: 4310.649 m AGL apogee, 368.021 m/s max speed, stable 2.194-3.844 c, no warnings.export_datawithvertical_velocity:AttributeError. Fixed withvz.pandas:ModuleNotFoundError. Fixed withpip install jupyter pandasinvenv.export_dataand filtered CSV withdf['time']:KeyError. Fixed withdf['# Time (s)'].export_datawithAltitude AGL (m):AttributeError. Fixed withaltitude.df['Vz (m/s)']:KeyError. Fixed withdf[' Vz (m/s)'].FlightDataExporterwithvariables=["altitude", "speed", "vz"]:TypeError. Fixed withaltitude,speed,vz.FlightDataExporterand filtered withdf['Time']:KeyError. Fixed withdf['# Time (s)'].Expected:
standard_atmosphere..ipynb.masterURLs.Flight.export_datausesvz.pandasandjupyterinvenv.# Time (s),Vz (m/s);FlightDataExporterworks with positional arguments.Actual:
Standardinvalid; needsstandard_atmosphere..htmllinks fail.main404s.mandiocaimpulse 7568.587 Ns.vertical_velocityinvalid; needsvz.pandasmissing until installed invenv.# Time (s),Vz (m/s);Altitude AGL (m)invalid inexport_data.FlightDataExporterfails withvariableslist; uses# Time (s).Suggested Fix:
standard_atmosphere..ipynb.masterURLs.keronandmandiocaCSVs differ.mandioca.mainparachute trigger to 600 m.Flight.export_datadocs to listvz.pandasandjupyteras dependencies invenv.# Time (s),Vz (m/s)vs.Time,Vz).FlightDataExporterwithaltitude,speed,vzand filter with# Time (s).FlightDataExporteroverFlight.export_data.Additional Notes:
standard_atmosphere; redownload CSVs withmaster; usevz; installjupyterandpandasinvenv; useFlightDataExporterwithaltitude,speed,vz; filter withdf['# Time (s)']; plot withdf[' Vz (m/s)'].keron(1403 Ns, spiky) suits heavy payloads in lower LEO;mandioca(7568 Ns, smooth, 4310.649 m AGL apogee, -5.457 m/s impact) suits high-altitude, light payloads.