diff --git a/docs/examples/juno3_flight_sim.ipynb b/docs/examples/juno3_flight_sim.ipynb index 29aac71da..770ae8fa0 100644 --- a/docs/examples/juno3_flight_sim.ipynb +++ b/docs/examples/juno3_flight_sim.ipynb @@ -176,7 +176,7 @@ ], "source": [ "mandioca = SolidMotor(\n", - " thrust_source=\"/home/gfalves/Documents/github/RocketPy/data/motors/mandioca/thrustCurve.csv\",\n", + " thrust_source=\"../../data/motors/mandioca/thrustCurve.csv\",\n", " reshape_thrust_curve=(5.8, 8800),\n", " grain_number=5,\n", " grain_separation=0.006,\n", @@ -612,39 +612,6 @@ ")" ] }, - { - "cell_type": "code", - "execution_count": 55, - "metadata": {}, - "outputs": [], - "source": [ - "# read the cots_gnss\n", - "\n", - "cots_gnss_df = pd.read_csv(\"../../data/juno3/cots_GNSS.csv\")\n", - "\n", - "# Convert the 'UTCTIME' column to datetime\n", - "cots_gnss_df[\"UTCTIME\"] = pd.to_datetime(\n", - " cots_gnss_df[\"UTCTIME\"], format=\"%b %d %Y %H:%M:%S.%f %Z\"\n", - ")\n", - "\n", - "# Calculate the differences in seconds from the first timestamp\n", - "cots_gnss_df[\"time (s)\"] = (\n", - " cots_gnss_df[\"UTCTIME\"] - cots_gnss_df[\"UTCTIME\"].iloc[0]\n", - ").dt.total_seconds()\n", - "\n", - "# convert the ALT, HORZV, and the VERTV to m\n", - "# cots_gnss_df[\"ALT\"] = cots_gnss_df[\"ALT\"] * 0.3048\n", - "# cots_gnss_df[\"HORZV\"] = cots_gnss_df[\"HORZV\"] * 0.3048\n", - "# cots_gnss_df[\"VERTV\"] = cots_gnss_df[\"VERTV\"] * 0.3048\n", - "\n", - "# select columns\n", - "cots_gnss_df = cots_gnss_df[[\"time (s)\", \"ALT\", \"HORZV\", \"VERTV\", \"LAT\", \"LON\"]]\n", - "cots_gnss_df\n", - "\n", - "# override the file\n", - "cots_gnss_df.to_csv(\"../../data/juno3/cots_GNSS.csv\", index=False)" - ] - }, { "cell_type": "code", "execution_count": 58,