= duplicates = (Compiled by DL) '''Purpose:''' . === Requires === * [[LMRKLIST.TXT]] - Full list of landmarks. * LIST.TXT - Temporary list of the subset of landmarks which the user wishes to process, for sorting and removal of duplicates using the program duplicates. * [[LMKFILES]] - Directory containing all the LMKFILES listed in LMRKLIST.TXT and LIST.TXT. * [[MAPFILES]] - Directory containing all the MAPFILES for landmarks listed in LMRKLIST.TXT and LIST.TXT. === Output === * make_script.in - .in file required by [[make_scriptP]] for generating the run scripts required to iterate the landmarks using [[lithosP]]. == Using duplicates == duplicates processes landmark names as follows: * for every landmark listed in [[LMRKLIST.TXT]]: * duplicates checks that the MAPFILE exists; * duplicates obtains the maplet's Q-size and Ground Sample Distance (GSD) from the LMKFILE; * duplicates sorts the list by decreasing GSD and increasing name (lat/wlong identifier and numeric identifier); * duplicates discards duplicate entries; * for every landmark listed in LIST.TXT: * duplicates checks that the landmark is also listed in [[LMRKLIST.TXT]], if so the landmark is included in the output; * duplicates writes the sub-set of ordered landmarks to make_script.in. NB: * The LANDMARK and MAP files for the landmarks included in [[LMRKLIST.TXT]] must exist in [[LMKFILES]]/ and [[MAPFILES]]/; * duplicates only considers landmarks contained in LIST.TXT, that are also contained in [[LMRKLIST.TXT]].