Add raster result to map

Discussion created by dugtoni on May 1, 2013
Latest reply on May 6, 2013 by dugtoni
Hey everyone,

I would really appreciate it if someone could help me out.  Right now I have a geoprocessing tool that runs when someone specifies some parameters and selects an area of interest in a map service window.  The geoprocesing tool downloads netCDF climate data for that selected area of interest, and then converts the netCDF data into a raster.  When the tool is done running, I would like to add this raster to the map.  Does anyone know how I can do this?  I was figuring I would need to create a dynamic map service layer from the raster, and then add it to the map, but I am not quite sure how to go about this in the javascript.  Any help would be very much appreciated.  Thank you!