Commit 50e10d67 authored by perdereau's avatar perdereau
Browse files

format of file name for track (no space in name)

parent b83bf4ca
......@@ -396,7 +396,7 @@ void SaveTrack(DateTime & dateobs, string & satname, SGP4 & sgp4, Observer & obs
DateTime& datestart, DateTime& dateend, TimeSpan& tspaninc, int prtlev)
{
char flnm[128];
sprintf(flnm,"trk_%s_%4d%2d%2d.txt",satname.c_str(),(int)dateobs.Year(), (int)dateobs.Month(), (int)dateobs.Day());
sprintf(flnm,"trk_%s_%4d%02d%02d.txt",satname.c_str(),(int)dateobs.Year(), (int)dateobs.Month(), (int)dateobs.Day());
ofstream ofs(flnm);
CoordGeodetic obsgeo=obs.GetLocation();
ofs << "#### Track for satellite : " << satname << " Date (yyyy/mm/dd): "
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment