bounding box
Contents: Description, Arguments, Usage, Examples, Sub-Functions, Related Functions Supported Under Version: >1.69 Current Davinci Version: 2.27 64-bit Safe: No
Description Calculates the latitude and longitude bounding box of all cubes in a filelist. Used in making mosaics.
Arguments and Return Values Arguments: a filelist, file suffix and band number Return Value: a v_object containing the bounding coordinates of all cubes in the filelist
Usage Syntax: bounding_box(filelist, suffix, band) The filelist must contain one filename per line. The file_suffix must be the suffix of all files in the filelist. The THEMIS cubes must contain the band specified.
Examples dv> a = read_lines("file_list") Text Buffer with 2 lines of text 1: V09277003 2: V10812002 dv> b = bounding_box(a,".qub",3) -------------------------------------------------------------------------- Parsing File: V09277003.qub -------------------------------------------------------------------------- Line 74 -- Duplicate KEYWORD identifier: "GROUP" Line 75 -- Duplicate KEYWORD identifier: "TARGET_NAME" Line 79 -- Duplicate KEYWORD identifier: "END_GROUP" Line 81 -- Duplicate KEYWORD identifier: "GROUP" Line 87 -- Duplicate KEYWORD identifier: "END_GROUP" Line 89 -- Duplicate KEYWORD identifier: "GROUP" Line 93 -- Duplicate KEYWORD identifier: "END_GROUP" Line 95 -- Duplicate KEYWORD identifier: "GROUP" Line 100 -- Duplicate KEYWORD identifier: "END_GROUP" Line 102 -- Duplicate KEYWORD identifier: "GROUP" Line 113 -- Duplicate KEYWORD identifier: "END_GROUP" Line 115 -- Duplicate KEYWORD identifier: "GROUP" Line 122 -- Duplicate KEYWORD identifier: "LONGITUDE_SYSTEM" Line 137 -- Duplicate KEYWORD identifier: "END_GROUP" Line 139 -- Duplicate KEYWORD identifier: "GROUP" Line 143 -- Duplicate KEYWORD identifier: "SPACECRAFT_NAME" Line 147 -- Duplicate KEYWORD identifier: "INSTRUMENT_ID" Line 152 -- Duplicate KEYWORD identifier: "PRODUCT_ID" Line 156 -- Duplicate KEYWORD identifier: "IMAGE_NUMBER" Line 157 -- Duplicate KEYWORD identifier: "END_GROUP" Line 159 -- Duplicate KEYWORD identifier: "GROUP" Line 161 -- Duplicate KEYWORD identifier: "END_GROUP" -------------------------------------------------------------------------- End of Parsing File: V09277003.qub -------------------------------------------------------------------------- -------------------------------------------------------------------------- Parsing File: V10812002.qub -------------------------------------------------------------------------- Line 74 -- Duplicate KEYWORD identifier: "GROUP" Line 75 -- Duplicate KEYWORD identifier: "TARGET_NAME" Line 79 -- Duplicate KEYWORD identifier: "END_GROUP" Line 81 -- Duplicate KEYWORD identifier: "GROUP" Line 87 -- Duplicate KEYWORD identifier: "END_GROUP" Line 89 -- Duplicate KEYWORD identifier: "GROUP" Line 93 -- Duplicate KEYWORD identifier: "END_GROUP" Line 95 -- Duplicate KEYWORD identifier: "GROUP" Line 100 -- Duplicate KEYWORD identifier: "END_GROUP" Line 102 -- Duplicate KEYWORD identifier: "GROUP" Line 113 -- Duplicate KEYWORD identifier: "END_GROUP" Line 115 -- Duplicate KEYWORD identifier: "GROUP" Line 122 -- Duplicate KEYWORD identifier: "LONGITUDE_SYSTEM" Line 137 -- Duplicate KEYWORD identifier: "END_GROUP" Line 139 -- Duplicate KEYWORD identifier: "GROUP" Line 143 -- Duplicate KEYWORD identifier: "SPACECRAFT_NAME" Line 147 -- Duplicate KEYWORD identifier: "INSTRUMENT_ID" Line 152 -- Duplicate KEYWORD identifier: "PRODUCT_ID" Line 156 -- Duplicate KEYWORD identifier: "IMAGE_NUMBER" Line 157 -- Duplicate KEYWORD identifier: "END_GROUP" Line 159 -- Duplicate KEYWORD identifier: "GROUP" Line 161 -- Duplicate KEYWORD identifier: "END_GROUP" -------------------------------------------------------------------------- End of Parsing File: V10812002.qub -------------------------------------------------------------------------- struct, 4 elements x: -1146 y: 43999 w: 2229 h: 3360 dv> |
DavinciWiki Mini-Nav Bar Contents
Contact Developers
All other topics
Related Functions
Recent Core Changes Modified On: 01-17-2008 |