external/CDAWlib/
plot_map_images.pro
NAME: GRID_MAP PURPOSE: To overlay a map grid on top of an image CALLING SEQUENCE: out = grid_map( ) INPUTS: KEYWORD PARAMETERS: OUTPUTS: out = status flag, 0=0k, -1 = problem occured. AUTHOR: Rich Baldwin, Raytheon STX
NAME: PLOT_MAP_IMAGES PURPOSE: To plot the map image data given in the input parameter astruct. Can plot as "thumbnails" or single frames. CALLING SEQUENCE: out = plot_map_images(astruct,vname) INPUTS: astruct = structure returned by the read_mycdf procedure. vname = name of the variable in the structure to plot KEYWORD PARAMETERS: CENTERLONLAT = 2 element array of map center [longitude, latitude] THUMBSIZE = size (pixels) of thumbnails, default = 40 (i.e. 40x40) FRAME = individual frame to plot XSIZE = x size of single frame YSIZE = y size of single frame GIF = name of gif file to send output to REPORT = name of report file to send output to TSTART = time of frame to begin imaging, default = first frame TSTOP = time of frame to stop imaging, default = last frame NONOISE = eliminate points outside 3sigma from the mean CDAWEB = being run in cdaweb context, extra report is generated DEBUG = if set, turns on additional debug output. COLORBAR = calls function to include colorbar w/ image OUTPUTS: out = status flag, 0=0k, -1 = problem occured. AUTHOR: Rich Baldwin, Raytheon STX Richard Burley, NASA/GSFC/Code 632.0, Feb 22, 1996 burley@nssdca.gsfc.nasa.gov (301)286-2864 MODIFICATION HISTORY: 1/21/98 : R. Baldwin : Initial version modified from plot_images.pro Copyright 1996-2013 United States Government as represented by the Administrator of the National Aeronautics and Space Administration. All Rights Reserved.
Routines
Routines from plot_map_images.pro
result = vec_norm(v)
result = unit_vec(v)
rot_con, system, xcon, ycon, nxpix, nypix, roti_val
lltodr, lat, lon, r, x, y, z
Procedure Name: lltodr Author: J.
lltopix, lat, lon, emis_hgt, xax, yax, zax, orb, system, row_arr, col_arr, angle, epoch
PROGRAM NAME: lltopix Purpose: Calculate the row,col pixel locations of a point, given the latitude and longitude of the point on the earth and the spacecraft's orbit and attitude INPUTS: lat Latitude of the point on the earth lon Longitude of the point on the earth emis_hgt Radiation emission height (km) xax X axis: direction of l0 yax Y axis: zax X xax zax Z axis: direction in plane of xax and att perp to xax orb GCI orbital postion (km) epoch CDF time OUTPUTS: row Pixel row location col Pixel column location angle Angle between Lpix and pos PROGRAM CALLS: geigeo AUTHOR: Rich Baldwin, Raytheon STX
grid_map, alat, alon, idat, pos, sun_term, xpimg, ypimg, CONTINENT=CONTINENT, GRID=GRID, POLE_N=POLE_N, POLE_S=POLE_S, TERMINATOR=TERMINATOR, LABEL=LABEL, _Extra=_Extra
grid_uvi, orb, att, dsp_angle, filter, system, idat, pos, xpimg, ypimg, epoch, sun_term, nxpix, nypix, CONTINENT=CONTINENT, GRID=GRID, POLE=POLE, TERMINATOR=TERMINATOR, LABEL=LABEL, _Extra=_Extra
NAME: GRID_UVI PURPOSE: To overlay a map grid on top of image polar uvi images CALLING SEQUENCE: out = grid_uvi( ) INPUTS: KEYWORD PARAMETERS: OUTPUTS: out = status flag, 0=0k, -1 = problem occured.
result = plot_map_images(astruct, vname, CENTERLONLAT=CENTERLONLAT, THUMBSIZE=THUMBSIZE, FRAME=FRAME, XSIZE=XSIZE, GIF=GIF, REPORT=REPORT, TSTART=TSTART, TSTOP=TSTOP, NONOISE=NONOISE, CDAWEB=CDAWEB, DEBUG=DEBUG, COLORBAR=COLORBAR)
Routine details
top source rot_con
rot_con, system, xcon, ycon, nxpix, nypix, roti_val
Parameters
- system
- xcon
- ycon
- nxpix
- nypix
- roti_val
top source lltodr
Procedure Name: lltodr Author: J. M. O'Meara Purpose: Convert latitude/longitude to 3-D position vector INPUTS: lat Latitude of the point on the earth lon Longitude of the point on the earth r Radius scalar Outputs: x,y,z 3-D position vector
Parameters
- lat
- lon
- r
- x
- y
- z
top source lltopix
lltopix, lat, lon, emis_hgt, xax, yax, zax, orb, system, row_arr, col_arr, angle, epoch
PROGRAM NAME: lltopix Purpose: Calculate the row,col pixel locations of a point, given the latitude and longitude of the point on the earth and the spacecraft's orbit and attitude INPUTS: lat Latitude of the point on the earth lon Longitude of the point on the earth emis_hgt Radiation emission height (km) xax X axis: direction of l0 yax Y axis: zax X xax zax Z axis: direction in plane of xax and att perp to xax orb GCI orbital postion (km) epoch CDF time OUTPUTS: row Pixel row location col Pixel column location angle Angle between Lpix and pos PROGRAM CALLS: geigeo AUTHOR: Rich Baldwin, Raytheon STX
Parameters
- lat
- lon
- emis_hgt
- xax
- yax
- zax
- orb
- system
- row_arr
- col_arr
- angle
- epoch
top source grid_map
grid_map, alat, alon, idat, pos, sun_term, xpimg, ypimg, CONTINENT=CONTINENT, GRID=GRID, POLE_N=POLE_N, POLE_S=POLE_S, TERMINATOR=TERMINATOR, LABEL=LABEL, _Extra=_Extra
Parameters
- alat
- alon
- idat
- pos
- sun_term
- xpimg
- ypimg
Keywords
- CONTINENT
- GRID
- POLE_N
- POLE_S
- TERMINATOR
- LABEL
- _Extra
top source grid_uvi
grid_uvi, orb, att, dsp_angle, filter, system, idat, pos, xpimg, ypimg, epoch, sun_term, nxpix, nypix, CONTINENT=CONTINENT, GRID=GRID, POLE=POLE, TERMINATOR=TERMINATOR, LABEL=LABEL, _Extra=_Extra
NAME: GRID_UVI PURPOSE: To overlay a map grid on top of image polar uvi images CALLING SEQUENCE: out = grid_uvi( ) INPUTS: KEYWORD PARAMETERS: OUTPUTS: out = status flag, 0=0k, -1 = problem occured. AUTHOR: Rich Baldwin, Raytheon STX
Parameters
- orb
- att
- dsp_angle
- filter
- system
- idat
- pos
- xpimg
- ypimg
- epoch
- sun_term
- nxpix
- nypix
Keywords
- CONTINENT
- GRID
- POLE
- TERMINATOR
- LABEL
- _Extra
top source plot_map_images
result = plot_map_images(astruct, vname, CENTERLONLAT=CENTERLONLAT, THUMBSIZE=THUMBSIZE, FRAME=FRAME, XSIZE=XSIZE, GIF=GIF, REPORT=REPORT, TSTART=TSTART, TSTOP=TSTOP, NONOISE=NONOISE, CDAWEB=CDAWEB, DEBUG=DEBUG, COLORBAR=COLORBAR)
Parameters
- astruct
- vname
Keywords
- CENTERLONLAT
- THUMBSIZE
- FRAME
- XSIZE
- GIF
- REPORT
- TSTART
- TSTOP
- NONOISE
- CDAWEB
- DEBUG
- COLORBAR
File attributes
Modification date: | Tue Oct 21 13:53:48 2014 |
Lines: | 1,554 |