![strtrim idl strtrim idl](http://idl.selab.re.kr/wp-content/uploads/2017/02/osm_test1-730x836.png)
Station_value = geodata(pix-1, lin-1) have to subtract 1 from pixel and line since SeaDAS Sdp_nav_ll2tv, tmp, lat, lon, pix, lin, band=band_no & lon = -150 latitude/longitude of station Example below is using same loaded band and geodata as in first example above: Value at Specific Latitude/Longitude - Looking for the data at one specific station and don't know the 'pixel/line'? Without using 'Cursor Position' or 'Read and Profile' display functions you can use the sdp_nav_ll2tv function from the command line. Usage: SDP_ADD_BAND_ENTRY, banddata, info_band=info_band, nav_band=nav_band, FILENAME=filename, PRODNAME=prodname, BANDNAME=i_bandname, si=i_si, scale_type=i_scale_type, units=i_units (see file: $SEADAS/idl_lib/sdp_add_band_entry.pro) You can also include units, bandname (usually "product : filename"), etc. Simple example: you have a quality flag loaded in an array, qual, geolocation data similar to those in band 1. To get an IDL array into the SeaDAS bandlist. IDL Array to SeaDAS Band - The opposite of above. Geodata = sdp_raw2geo(band_no, banddata) convert 'raw data' to geophysical values Sdp_band_get,band_no, banddata store 'raw data' into array banddata Simple example: quickly check if there are any valid data in your scene so you don't have to do any further analyses: This is a very useful function when you want to work with blotches from the command-line or scripts.
![strtrim idl strtrim idl](https://www.sdss.org/dr14/wp-content/uploads/2016/03/7443-12703-halpha.png)
I also created the function ' get_band.pro' to store banddata into an IDL array. SeaDAS Band to IDL Array - A not documented handy command to get the data of a loaded band into an array which can be manipulated from the command line (instead of using the mband_cmd function). SeaDAS help: index, command mode overview. A few might only be applicable to 'ocean', our Sun server.
Strtrim idl software#
SeaDAS is an IDL based software package used mainly for SeaWiFS and MODIS satellite image processing.
![strtrim idl strtrim idl](https://www.ainaco.com/idl/idl_library/third.gif)
Home > Research > Tools > SeaDAS Tips & Tricks SeaDAS/IDL (and some Unix) Tips & Tricks