parzivail / SGP.NET

C# SGP4 Satellite Prediction Library. Load satellites from TLEs, convert between coordinate systems and reference frames, observe satellites from ground stations, and more.
MIT License
30 stars 14 forks source link

System.ArgumentOutOfRangeException: The added or subtracted value results in an un-representable DateTime. (Parameter 't') #28

Open wxyer opened 5 months ago

wxyer commented 5 months ago

sometime compute wont wrong,i position the code `

        var before = maxElTime - deltaTime;

        if (clipToStartTime) // ensure before is clipped for max elevation search
        {
            before = start > before ? start : before;
        }

` should alert the maxElTime is after DateTime.MinValue;