Pascal program for computing the residence time.
Ecological Archives E089-191-S1.
File list (downloads)
Centre d’Écologie Fonctionnelle et Évolutive
CNRS Montpellier, France
Centre d’Études Biologiques de Chizé – CNRS, France
Residence_time.txt -- PASCAL CODE
This program can run with any Pascal compiler (a free compiler working on most operating systems can be downloaded at www.freepascal.org). It works from an input file in plain text where the two first columns are Cartesian coordinates (x, y) of the successive locations, and the third column is the associated time t. Georeferenced data (i.e., expressed in latitudeand longitude) must be first converted in Cartesian coordinates, by using an appropriate projection system. Nevertheless, if the movement was restricted to a relatively small area (a few degrees in both latitude and longitude) that is not too close to the poles (i.e., below 70°N and above 70°S), approximate but reliable Cartesian coordinates, expressed in km, can be obtained from latitude, lat, and longitude, long, expressed in degrees, as: x = 111.12 (long - long0) cos(lat0 /180), y = 111.12 (lat - lat0), where lat0 and long0 are the latitude and the longitude of the first location. The name of the input and output files should include the whole directory path (e.g., C:\data\input_file.txt on a DOS or Windows operating system). The radius of the virtual circle and the step length (if the movement should be spatially rediscretized) must be expressed in the same unit as Cartesian coordinates x and y; the step duration (if the movement should be temporally rediscretized) must be expressed in the same unit as time t.
ESA Publications | Ecological Archives | Permissions | Citation | Contacts