ORBITBREAKS Separate orbit into passes based on turning points. ORBITBREAKS is a low-level function called by ABOUT_TPJAOS. [LAT,LON]=ORBITBREAKS(LAT,LON), where LAT and LON are column vectors representing a satellite orbital groundtrack, is used to separate different passes based on the turning points in latitude. NANs are inserted into both LAT and LON wherever LAT has a turning point. Note that no data is removed. All latitudes and lontidues are in degrees. The output longitude has range [-180, 180]. Calling COL2MAT(LAT,LON) will then reshape LAT and LON into matrices, with each orbital pass in its own column. [LAT,LON,X1,X2,... XN]=ORBITBREAKS(LAT,LON,X1,X2,... XN) will insert NANs into the other arguments in the same locations as for LAT and LON. The input arguments should contain no NANs. For missing data, use INFs instead. ORBITBREAKS(LAT,LON, ...) with no output arguments overwrites the original variables. See also COLBREAKS, COL2MAT. 'orbitbreak --t' runs a test. Usage: [lat,lon]=orbitbreaks(lat,lon); [lat,lon,x1,x2,x3]=orbitbreaks(lat,lon,x1,x2,x3); orbitbreaks(lat,lon); orbitbreaks(lat,lon,x1,x2,x3); __________________________________________________________________ This is part of JLAB --- type 'help jlab' for more information (C) 2006--2022 J.M. Lilly --- type 'help jlab_license' for details