If I have an origin and actual departure time I’d like to get the closest set of METAR data for those two params. I’m writing the results out to Excel.

The ac.origin is KPHX. The ac.actualdeparturetime is 1430530377 (Sat, 2 May 2015 01:32:57 UTC)

When I use these two inputs “KPHX” and 1430530377 I don’t get any record returned even though I seem to be within the 7 days.

Invoked as follows…

ArrayOfMetarStruct oms = df.MetarEx(ac.origin, ac.actualdeparturetime, 0, 0);

Thanks for any help/suggestions.


Pass a number greater than 0 for the howMany argument.