Hello, I hope the below is of use to you others. It works for me. It is in Microsoft Window 11. I also hope it makes sense - I'm not a Technical Author. I have created a windows batch file (Text below) that goes to Celestrack and gets my TLE updates automatically. The process reads Celestrack NORAD Elements and then outputs a combined set of TLEs for the satellites that I am interested in. I call the batch file curle_tle.bat. I have also created a event timed to run the batch file every 6 hours (If you do it too often they will probably block you. REM = REMARK or Comment and those lines are not executed. They are there really as reminders for me. Simple example: To add the NOAA 19 satellite to your TLE Folder location REM NOAA 19 (33591) curl -o "C:\Users<Your User Name>\AppData\Roaming\SatPC32\Kepler\noaa19.txt" " https://celestrak.org/NORAD/elements/gp.php?CATNR=33591&FORMAT=TLE " That creates a file noaa19.txt in your Keplar folder and gets and populates the file with the data for satellite whose reference is 33591. At tthe end of the batch file: REM Combine TLEs REM cd /d C:\Users<Your User Name>\AppData\Roaming\SatPC32\Kepler\ copy /b ISS.txt + noaa19.txt + PISAT.txt + SO50.txt + Ao73.txt + Mesat1MO122.txt merged.txt echo Files merged successfully into merged.txt This takes the single satellite TLE Files that you have created and combine them into a single MERGED.txt file and that is the one you choose in SatPC32 Change the pause to REM pause at the bottom of the file once you are happy everything is as you want it. Cut and paste the following into a text - batch (bat) file Amend all the data below to suite your needs. >>>>> ....................... -------------------------- .................................... REM Batch file curle_tle.bat echo "Update cURLs" echo 'echo off' @echo off REM -------------------------------------- NOTES 1 REM While you can still download curated data sets (GROUPs) using the new queries, REM you also have more flexibility to get what you need. And you can do that with a REM simple cURL command (which should be part of Windows 11) to download the data REM and put it exactly where you want it: REM curl -o “localPath” URL REM CREDITS >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> REM where localPath is wherever your SATPC32 data goes and URL is the URL of the REM CelesTrak query. REM It would be a lot easier for you to create a batch REM (Powershell) file with a few cURL commands, that you can tailor exactly for REM your needs, than for me to continue to update a Windows-only application to REM handle things like changing formats and the like. REM I hope that makes sense. Please LMK if you have further questions. - TS REM Dr. T.S. Kelso REM CelesTrak, https://celestrak.org REM E-Mail: [email protected] REM <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< REM Local C:\Users<Your User Name>\AppData\Roaming\SatPC32\Kepler\ REM URLs: REM http://www.amsat.org/amsat/ftp/keps/current/nasabare.txt REM http://www.amsat.org/amsat/ftp/keps/current/nasa.all REM https://www.celestrak.org/NORAD/elements/amateur.txt REM https://celestrak.org/NORAD/elements/gp.php?GROUP=amateur&FORMAT=csv REM https://celestrak.org/NORAD/elements/gp.php?GROUP=amateur&FORMAT=kvn REM https://celestrak.org/NORAD/elements/gp.php?GROUP=amateur&FORMAT=xml REM https://www.celestrak.org/NORAD/elements/noaa.txt REM https://www.celestrak.org/NORAD/elements/geo.txt REM https://www.celestrak.org/NORAD/elements/weather.txt REM https://www.celestrak.org/NORAD/elements/intelsat.txt REM https://www.celestrak.org/NORAD/elements/cubesat.txt REM https://www.celestrak.org/NORAD/elements/TLE-new.txt REM https://celestrak.org/NORAD/elements/gp.php?CATNR=25544&FORMAT=TLE REM https://celestrak.org/NORAD/elements/gp.php?GROUP=STATIONS&FORMAT=XML REM https://celestrak.org/NORAD/elements/gp.php?GROUP=STATIONS&FORMAT=TLE REM ------------ ACTIVE DATA TLE Downloads ----------------------------- REM ----------- curl format from &FORMAT=TLE to a NAME.TXT ------------- REM --------------------------------------------------------------------- cd /d C:\Users<Your User Name>\AppData\Roaming\SatPC32\Kepler\ REM https://celestrak.org/NORAD/elements/gp.php?GROUP=amateur&FORMAT=TLE curl -o "C:\Users<Your User Name>\AppData\Roaming\SatPC32\Kepler\amateurG6SGA.txt" " https://celestrak.org/NORAD/elements/gp.php?GROUP=amateur&FORMAT=TLE " REM for the SO50 curl -o "C:\Users<Your User Name>\AppData\Roaming\SatPC32\Kepler\SO50.txt" " https://celestrak.org/NORAD/elements/gp.php?CATNR=27607&FORMAT=TLE " REM for the SatPC32ISS REM https://celestrak.org/NORAD/elements/gp.php?CATNR=25544&FORMAT=TLE curl -o "C:\Users<Your User Name>\AppData\Roaming\SatPC32\Kepler\amateurISS.txt" " https://celestrak.org/NORAD/elements/gp.php?CATNR=25544&FORMAT=TLE " REM https://celestrak.org/NORAD/elements/gp.php?GROUP=amateur&FORMAT=csv curl -o "C:\Users<Your User Name>\AppData\Roaming\SatPC32\Kepler\amateur.txt" " https://celestrak.org/NORAD/elements/gp.php?CATNR=25544&FORMAT=TLE " REM ------------ OTHERS ACTIVE DATA ------------------------------------- REM ----------- curl format from &FORMAT=TLE to a NAME.TXT ------------- REM --------------------------------------------------------------------- REM ------------ OTHERS ACTIVE DATA -- WEATHER -------------------------- REM --------------------------------------------------------------------- curl -o "C:\Users<Your User Name>\AppData\Roaming\SatPC32\Kepler\weather.txt" " https://celestrak.org/NORAD/elements/gp.php?GROUP=weather&FORMAT=TLE " REM ------------ OTHERS ACTIVE DATA -- NOAA ----------------------------- REM --------------------------------------------------------------------- curl -o "C:\Users<Your User Name>\AppData\Roaming\SatPC32\Kepler\noaa.txt" " https://celestrak.org/NORAD/elements/gp.php?GROUP=noaa&FORMAT=TLE " REM ------------ OTHERS ACTIVE DATA -- GOES --------------------- REM --------------------------------------------------------------------- curl -o "C:\Users<Your User Name>\AppData\Roaming\SatPC32\Kepler\goes.txt" " https://celestrak.org/NORAD/elements/gp.php?GROUP=goes&FORMAT=TLE " REM ------------ OTHERS ACTIVE DATA -- EARTH RESOURCES ------------------ REM --------------------------------------------------------------------- curl -o "C:\Users<Your User Name>\AppData\Roaming\SatPC32\Kepler\goes.txt" " https://celestrak.org/NORAD/elements/gp.php?GROUP=resource&FORMAT=TLE " REM ------------ OTHERS ACTIVE DATA -- SCIENTIFIC ----------------------- REM --------------------------------------------------------------------- curl -o "C:\Users<Your User Name>\AppData\Roaming\SatPC32\Kepler\Science1.txt" " https://celestrak.org/NORAD/elements/gp.php?GROUP=science&FORMAT=TLE " curl -o "C:\Users<Your User Name>\AppData\Roaming\SatPC32\Kepler\Geodetic.txt" " https://celestrak.org/NORAD/elements/gp.php?GROUP=geodetic&FORMAT=TLE " curl -o "C:\Users<Your User Name>\AppData\Roaming\SatPC32\Kepler\Engineering.txt" " https://celestrak.org/NORAD/elements/gp.php?GROUP=engineering&FORMAT=TLE " curl -o "C:\Users<Your User Name>\AppData\Roaming\SatPC32\Kepler\Education.txt" " https://celestrak.org/NORAD/elements/gp.php?GROUP=education&FORMAT=TLE " REM ------------ OTHERS ACTIVE DATA -- Stuff :) ------------------------- REM --------------------------------------------------------------------- REM ------------ OTHERS ACTIVE DATA -- Intelsat ------------------------- curl -o "C:\Users<Your User Name>\AppData\Roaming\SatPC32\Kepler\intelsat.txt" " https://celestrak.org/NORAD/elements/gp.php?GROUP=intelsat&FORMAT=TLE " REM ------------ OTHERS ACTIVE DATA -- Cubesat -------------------------- curl -o "C:\Users<Your User Name>\AppData\Roaming\SatPC32\Kepler\cubesat.txt" " https://celestrak.org/NORAD/elements/gp.php?GROUP=cubesat&FORMAT=TLE " REM ------------ OTHERS ACTIVE DATA -- 30 Days < Launch ------------------ curl -o "C:\Users<Your User Name>\AppData\Roaming\SatPC32\Kepler\TLE-new.txt" " https://celestrak.org/NORAD/elements/gp.php?GROUP=last-30-days&FORMAT=TL... " REM --------------------------------------------------------------------- REM ------------ Emergency, Search & rescue ACTIVE DATA ----------------- REM ----------- curl format from &FORMAT=TLE to a NAME.TXT ------------- REM --------------------------------------------------------------------- REM Emergency Operations curl -o "C:\Users<Your User Name>\AppData\Roaming\SatPC32\Kepler\DisaterMon.txt" " https://celestrak.org/NORAD/elements/gp.php?GROUP=dmc&FORMAT=TLE " REM Search & Rescue curl -o "C:\Users<Your User Name>\AppData\Roaming\SatPC32\Kepler\DisaterMon.txt" " https://celestrak.org/NORAD/elements/gp.php?GROUP=sarsat&FORMAT=TLE " REM ------------------- PART ONE ---------- Add the cURLs REM New batch file for cURLing cd /d C:\Users<Your User Name>\AppData\Roaming\SatPC32\Kepler\ REM ISS (25544) curl -o "C:\Users<Your User Name>\AppData\Roaming\SatPC32\Kepler\ISS.txt" " https://celestrak.org/NORAD/elements/gp.php?CATNR=25544&FORMAT=TLE " REM NOAA 19 (33591) curl -o "C:\Users<Your User Name>\AppData\Roaming\SatPC32\Kepler\noaa19.txt" " https://celestrak.org/NORAD/elements/gp.php?CATNR=33591&FORMAT=TLE " REM PISAT (41784) curl -o "C:\Users<Your User Name>\AppData\Roaming\SatPC32\Kepler\PISAT.txt" " https://celestrak.org/NORAD/elements/gp.php?CATNR=41784&FORMAT=TLE " REM SO50 (41784) curl -o "C:\Users<Your User Name>\AppData\Roaming\SatPC32\Kepler\SO50.txt" " https://celestrak.org/NORAD/elements/gp.php?CATNR=27607&FORMAT=TLE " REM AO-73 (39444) FunCube-1 curl -o "C:\Users<Your User Name>\AppData\Roaming\SatPC32\Kepler\Ao73.txt" " https://celestrak.org/NORAD/elements/gp.php?CATNR=39444&FORMAT=TLE " REM MESAT1 Designated MESAT1-OSCAR 122 (MO-122) (60209) FunCube-1 curl -o "C:\Users<Your User Name>\AppData\Roaming\SatPC32\Kepler\Mesat1MO122.txt" " https://celestrak.org/NORAD/elements/gp.php?CATNR=60209&FORMAT=TLE " REM ------------------- PART TWO ---------- Could be a second batch file call ----------------- REM add new cURLs above here and then add the file to the combine.bat file in the same directory REM Combine TLEs REM cd /d C:\Users<Your User Name>\AppData\Roaming\SatPC32\Kepler\ copy /b ISS.txt + noaa19.txt + PISAT.txt + SO50.txt + Ao73.txt + Mesat1MO122.txt merged.txt echo Files merged successfully into merged.txt pause REM Batch File End ....................... -------------------------- .................................... <<<<< Change Directory (cd) To the file paths Kind Regards Stephen Thornber G6SGA On 21 Jan 2025, at 15:30, crohtun--- via AMSAT-BB [email protected] wrote: Attempted to update TLEs on SatPC32 from nasabare and it wiped out the entire file. Did the same thing when I tried nasa.all. Anyone know what’s going on? Also noticed hams.at is no longer showing upcoming passes. ??? Ray KN2K Sent from the all new AOL app for iOS ----------------------------------------------------------- Sent via AMSAT-BB(a)amsat.org. AMSAT-NA makes this open forum available to all interested persons worldwide without requiring membership. Opinions expressed are solely those of the author, and do not reflect the official views of AMSAT-NA. Acceptable Use and Privacy Policies available at https://www.amsat.org/about-amsat/ View archives of this mailing list at https://mailman.amsat.org/hyperkitty/list/[email protected] To unsubscribe send an email to amsat-bb-leave(a)amsat.org Manage all of your AMSAT-NA mailing list preferences at https://mailman.amsat.org
participants (1)
-
Stephen Thornber