Skip to content
Prev 9244 / 29559 Next

How to calculate time spent on a world grid with circumpolar trips

Sorry to have missed this.

There's really no way to do this in longitude / latitude without a lot
of manual handling. You could split into two trips, one using the
eastern hemisphere, the other the western and use a shared [-180,180]
grid that you sum together.

What to do at the split coordinate depends on your actual data, there
are many options.

If you are still looking for an answer I could have a closer look at
your example code, but real data would be more helpful if you can
share it. There are a number of problems in the code you posted that
prevent it from being easily run.

Cheers, Mike.
On Fri, Aug 6, 2010 at 8:10 PM, Pinaud David <pinaud at cebc.cnrs.fr> wrote: