Download   Help   Documents   Contact   Links   OceanColor   News   FAQ   Forum 

Scenarios


How to display a SeaWiFS product with coastlines and gridlines?

  1. Start up the general display program 'seadisp' main menu:
  2. Load a SeaWiFS product:
  3. Display the SeaWiFS product:
  4. Display the coastlines and gridlines:
    1. From the Display Window Widget, select Functions ->Coastline to display the coastlines.
    2. From the Display Window Widget, select Functions ->Grid to display the gridlines.
    3. To modify the default setups for coastline and gridline functions, from the Display Window Widget select Setups->Coastline or Setups->Grid.

How to rescale an image?

  1. Load and display any product in a display window.
  2. Open the rescale setup by selecting Setups->Rescale from the Display Window Widget.
  3. After modifying the Scale Min/Max and/or the Scale Type, press Redisplay.
  4. If you would like to see a histogram of your image to aid you in rescaling it, select the display menu item Functions->Histogram.
  5. If some of the text on your histogram plot window is smashed together, you can resize the window.
  6. Use the histogram plot results to aid you in entering in better rescaling values in the Display Scaling Setup Widget.

How to display SeaWiFS L1A, L1B, and L2 data at the same location?

  1. Load all products to be examined into the Band List Selection Widget.
  2. Select and display at least one product from the Band List Selection Widget to display windows for cursor manipulation.
  3. From Seadisp Main Menu->Functions, select the menu item Multiple Bands Data Display.
  4. Turn off any products you are not interested in by pressing the toggle button on the left of the product name.
  5. Move the cursor in any display window.
  6. The raw and geophysical data values, pixel/line values and lat/lon coordinates will be displayed for all selected bands at the cursor location.

How to examine the image data around a specified location?

  1. Load and display the image to be examined to a display window.  The image must have SeaDAS recognized navigation information.
  2. From the Display Window Widget->Functions, select Read & Profile.
  3. From the Read Main Window widget, drag the mouse left button inside the small dark window to move the software cursor to any location in the displayed image, OR, to move the software cursor to a specified lat/lon or pixel/line location, in the displayed image:
  4. To examine the data values and statistics for a small region around the cursor:

How to display image profiles?

  1. Load and display the image for profile plot to a display window.
  2. From the Display Window Widget->Functions, select Read & Profile.
  3. From the Read Main Window widget, drag the left mouse button inside the small dark window to move the software cursor to any location in the displayed image, OR, to move the software cursor to a specified lat/lon or pixel/line location, in the displayed image:
  4. To plot a row or column profile on the software cursor position:

How to display two images with two different color tables?

  1. Load the two images into the Band List Selection widget.
  2. From the Band List Selection widget, select LUT no.: 1 and Window: 1 to display the first image and select LUT no.:2. and Window: 2 to display the second image.
  3. To load separate color tables into each of these windows:
  4. To change the number of pre-allocated color tables or change the partition sizes:
  5. From Seadisp Main Menu->Global Setup, select the menu item Change Color Table Configuration.
  6. Notice the Full session range values.  This shows you how many colors you have available in your current session for coloring data (the graphics palette and other colors are excluded from this number).
  7. To change the number of concurrent color tables, select a number from No. of concurrent tables menu.  If you don't like the calculated default partitions, you can change the partition range values.  When you are satisfied with the new partitions, press Apply.
  8. If you have the Load Color Widget up, you should be able to see the color table repartition and rescale.  Any currently displayed windows will rescale and redisplay and should look the same as before the repartitioning.


How to add graphics annotation and save the results to a PNG or PS file?

  1. Load and display the image for annotation and output to a display window.
  2. To put annotation on the image:
  3. To output the image with the annotation to a PNG or PS file:

How to display and mask the SeaWiFS, MODIS, or OCTS L2 products with flags?

  1. Make sure that the L2 flags data is loaded and listed in the Band List Selection widget and the corresponding L2 product to be applied is loaded and displayed in a display window.
  2. From the Seadisp Main Menu, select the Functions->L2 Flags Display menu item to display the main widget for this function.
  3. On the L2 Flags Display widget, select the band number from the Band List Selection widget that the L2 flags data is loaded to.
  4. Select the display window number that the L2 product is displayed and where the flags will be applied.
  5. Change the Flag type to the appropriate SeaWiFS, MODIS, or OCTS L2 Flags setting.
  6. To select and display a single flag:
  7. To select and display multiple flags at once:
  8. More functions from the drop down Flag Function Menu:
  9. Click the Quit button to quit the L2 Flags Display widget.

How to mask an image with bathymetry?

  1. Load and display the desired image.  The image must have SeaDAS recognized navigation information.
  2. Generate the corresponding bathymetry image:
  3. Use Paint function to generate masks on the newly created bathymetry image:
  4. Copy the masked depth graphics on the bathymetry image to the image to be applied:

How to change the default display scaling for a given data product?

  1. Copy the global seadas defaults file to your home directory as a 'dot' file:
  2. Modify your own .seadas_defaults file:
  3. You do not need to restart SeaDAS for the new scaling defaults to take effect.  They will take effect immediately.

How to output a transect in ASCII format?

  1. Load and display any data product.
  2. From the Display Window widget, select Functions->Output->Data->ASCII.
  3. Select Line for the Data of Interest Within Region.
  4. Enter the coordinates of the two end-points of the line in either pixel/line values or latitude/longitude values.  (If you modify pixel or line, then latitude and longitude will automatically update and vice versa.)
  5. To write out the geophysical data values along the line joining these two points:
    1. Click Write File.
  6. To write out other additional variables in column format such as latitude, longitude, raw data values, pixel and line values:
    1. Click Setup.
    2. Click the buttons in front of the variables you would like to add.
    3. You can adjust the order of the columns by clicking the Move Item Up and Move Item Down buttons.
    4. Click Write File.

How to overlay in-situ data on an image and extract the corresponding latitude/longitude and data values?

  1. Load and display any band from either the file $SDSDEMO/L1_gac1.hdf or $SDSDEMO/L2_gac1.hdf.
  2. From the Display Window widget, select Functions->Ship Track.
  3. Select and load the ASCII in-situ file $SDSDEMO/track1.dat.  (The Total number of stations listed should be 16).
  4. To plot these points on the image, select Plot Menu->Overplot Track on Image.
  5. To output the latitude, longitude, image geophysical values as well as in-situ values in a table, select Output Menu->Track and Image Data.

How to generate map projections of an image?

  1. Load the image and display it on a window.  The image must have SeaDAS recognized navigation information.
  2. From the Seadisp Main Menu widget, select Functions->Projection to bring up the Seadisp Projection Function widget.
  3. From the Seadisp Projection Function widget:
  4. You can create another projection by repeating the previous step.

How to project images into the same map (image composite, mosaic)?

  1. Load the images to be composited into the Band List Selection widget.  All images must have SeaDAS recognized navigation information.
  2. From the Seadisp Main Menu widget, select Functions->Projection to bring up the Seadisp Projection Function widget.
  3. From the Seadisp Projection Function widget:

How to run a non-interactive batch program to output a PNG or PS file containing a coastline, gridlines and color bar?

  1. Look at the file $SDSDEMO/batch_L2png.demo.
  2. Either copy it and modify it to enter in your own file name or product name, or you can use this file directly.  You can enter in the name of any navigable file.
  3. To run it, submit the following command on the unix command line:
  4. seadas -b batch_L2png.demo

How to modify and rebuild a SeaDAS C or FORTRAN program?

  1. Find the sub-directory under $SEADAS/src where the program you want to modify is located.
  2. Copy all the files from that directory to a working directory.
  3. Modify the old routines or create the new routines.  The library routines can also be copied here as new routines for updating or testing.
  4. For new routines, Imakefile has to be modified to include those new routines under the OBJS variable and 'sdsimake' has to be executed to generate the new Makefile.
  5. Type 'make' to build the program with the updates under the working directory.
  6. Test the update program.
  7. After test, copy the modified and the new programs to the original sub-directory under $SEADAS/src.
  8. Change the directory to the original sub-directory and type 'make install' to generate the update program and move it to the $SEADAS/bin directory.

Curator: OceanColor Webmaster

Authorized by: gene carl feldman
Privacy Policy and Important Notices

Updated: Thursday, 20-Mar-2008 16:33:12 EDT
NASA logo