Re: [visad] Creating Overlay problem

I think if you have no lat/lon information then it wont be possible to map
OUTLnnnn files to image data. You should have lat/lon information with the
image data.

regards
Ghansham

On Thu, Jun 28, 2012, visad-request@xxxxxxxxxxxxxxxx said:

> Send visad mailing list submissions to
>       visad@xxxxxxxxxxxxxxxx
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>       http://mailman.unidata.ucar.edu/mailman/listinfo/visad
> or, via email, send a message with subject or body 'help' to
>       visad-request@xxxxxxxxxxxxxxxx
> 
> You can reach the person managing the list at
>       visad-owner@xxxxxxxxxxxxxxxx
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of visad digest..."
> 
> 
> Today's Topics:
> 
>    1. VisAD library updated (Tom Whittaker)
>    2. Re: Creating Overlay problem (Tom Whittaker)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Wed, 27 Jun 2012 14:02:22 -0500
> From: Tom Whittaker <whittaker@xxxxxxxx>
> To: visad-list@xxxxxxxxxxxxxxxx
> Subject: [visad] VisAD library updated
> Message-ID:
>       <CAA6nkJAzoad50+BvaWyBahTjBvSCHuTR+9v03GvAGAALsWpcPQ@xxxxxxxxxxxxxx>
> Content-Type: text/plain; charset=ISO-8859-1
> 
> The VisAD library has been updated to Revision 5968.  Here is a
> summary of changes since the last update:
> 
> ------------------------------------------------------------------------
> r5968 | rink | 2012-06-25 14:04:39 -0500 (Mon, 25 Jun 2012) | 2 lines
> Changed paths:
>    A /trunk/core/src/visad/georef/LongitudeLatitudeInterpCS.java
> 
> My class useful for swath point-by-point navigation.  You're welcome Ghansham.
> 
> ------------------------------------------------------------------------
> r5967 | tommyj | 2012-06-18 10:01:13 -0500 (Mon, 18 Jun 2012) | 1 line
> Changed paths:
>    M /trunk/core/src/visad/data/netcdf/Plain.java
>    M /trunk/core/src/visad/data/netcdf/QuantityDB.java
>    M /trunk/core/src/visad/data/netcdf/in/View.java
>    M /trunk/core/src/visad/data/netcdf/in/VirtualField.java
>    M /trunk/core/src/visad/data/netcdf/in/VirtualFlatField.java
>    M /trunk/core/src/visad/data/netcdf/in/VirtualScalar.java
>    M /trunk/core/src/visad/data/netcdf/in/VirtualTuple.java
>    M /trunk/core/src/visad/data/units/UnitTable.java
>    M /trunk/core/src/visad/data/units/UnitsDB.java
>    M /trunk/core/src/visad/data/vis5d/Vis5DTopoForm.java
>    M /trunk/core/src/visad/data/vis5d/Vis5DVerticalSystem.java
>    M /trunk/core/src/visad/georef/NamedLocationTuple.java
>    M /trunk/core/src/visad/georef/TrivialMapProjection.java
>    M /trunk/core/src/visad/install/ProgressMonitor.java
>    M /trunk/core/src/visad/install/Util.java
> 
> Some random javadoc cleanup from over the weekend.
> ------------------------------------------------------------------------
> r5966 | tommyj | 2012-06-18 09:59:14 -0500 (Mon, 18 Jun 2012) | 1 line
> Changed paths:
>    M /trunk/core/src/visad/install/UpdateJar.java
> 
> URL of the production VisAD .jar was a non-existent location, old and broken.
> ------------------------------------------------------------------------
> r5965 | rink | 2012-06-11 14:56:52 -0500 (Mon, 11 Jun 2012) | 6 lines
> Changed paths:
>    M /trunk/core/src/visad/bom/ImageRendererJ3D.java
>    M /trunk/core/src/visad/bom/ShadowImageByRefFunctionTypeJ3D.java
>    M /trunk/core/src/visad/java3d/ShadowFunctionOrSetTypeJ3D.java
> 
> Ghansham's totally excellent grey-scale, 8-bit rendering for byRef.
> If color table is
> grey only 8-bit image component used.  Algorithm smart enough to
> change to RGB/A if
> underlying color-table is changed.  This optimizes memory use and
> performance for a
> very common use case.
> 
> 
> ------------------------------------------------------------------------
> r5964 | tommyj | 2012-06-11 14:17:16 -0500 (Mon, 11 Jun 2012) | 1 line
> Changed paths:
>    M /trunk/core/src/visad/bom/FlexibleTrackManipulation.java
>    M /trunk/core/src/visad/data/ArrayWrapper.java
>    M /trunk/core/src/visad/data/dods/Adapter.java
>    M /trunk/core/src/visad/data/dods/FloatVectorAdapter.java
>    M /trunk/core/src/visad/data/dods/GridVariableAdapter.java
>    M /trunk/core/src/visad/data/dods/ListVariableAdapter.java
>    M /trunk/core/src/visad/data/dods/UIntValuator.java
>    M /trunk/core/src/visad/data/dods/Valuator.java
>    M /trunk/core/src/visad/data/dods/VectorAdapter.java
>    M /trunk/core/src/visad/data/gis/ArcAsciiGridAdapter.java
>    M /trunk/core/src/visad/data/gis/ArcAsciiGridForm.java
>    M /trunk/core/src/visad/data/gis/UsgsDemForm.java
>    M /trunk/core/src/visad/data/hdf5/HDF5FileAdapted.java
>    M /trunk/core/src/visad/data/hdf5/hdf5objects/HDF5Dataspace.java
>    M /trunk/core/src/visad/data/hdf5/hdf5objects/HDF5Datatype.java
>    M /trunk/core/src/visad/data/hdf5/hdf5objects/HDF5File.java
>    M /trunk/core/src/visad/data/hrit/HRITCoordinateSystem.java
>    M /trunk/core/src/visad/data/hrit/HRITForm.java
>    M /trunk/core/src/visad/data/in/OffsetUnpacker.java
>    M /trunk/core/src/visad/data/in/ScaleAndOffsetUnpacker.java
>    M /trunk/core/src/visad/data/in/ScaleUnpacker.java
>    M /trunk/core/src/visad/data/in/ValueRanger.java
>    M /trunk/core/src/visad/data/mcidas/AREACoordinateSystem.java
>    M /trunk/core/src/visad/data/mcidas/AreaForm.java
>    M /trunk/core/src/visad/data/mcidas/BaseMapAdapter.java
>    M /trunk/core/src/visad/data/mcidas/MapForm.java
>    M /trunk/core/src/visad/data/mcidas/PointDataAdapter.java
>    M /trunk/core/src/visad/data/mcidas/PointForm.java
> 
> My new dead-time filler (got the idea from Don, why not do something
> while riding the bus) - cleaning up VisAD javadoc.
> ------------------------------------------------------------------------
> r5963 | tommyj | 2012-06-08 13:52:20 -0500 (Fri, 08 Jun 2012) | 1 line
> Changed paths:
>    M /trunk/core/src/visad/AxisScale.java
>    M /trunk/core/src/visad/CMYCoordinateSystem.java
>    M /trunk/core/src/visad/ContourControl.java
>    M /trunk/core/src/visad/DataReferenceImpl.java
>    M /trunk/core/src/visad/DataRenderer.java
>    M /trunk/core/src/visad/DateTime.java
>    M /trunk/core/src/visad/FieldImpl.java
>    M /trunk/core/src/visad/FlatField.java
>    M /trunk/core/src/visad/Gridded1DDoubleSet.java
>    M /trunk/core/src/visad/KeyboardBehavior.java
>    M /trunk/core/src/visad/LinearNDSet.java
>    M /trunk/core/src/visad/List1DDoubleSet.java
>    M /trunk/core/src/visad/List1DSet.java
>    M /trunk/core/src/visad/LogarithmicUnit.java
>    M /trunk/core/src/visad/OffsetUnit.java
>    M /trunk/core/src/visad/PlotText.java
>    M /trunk/core/src/visad/ProductSet.java
>    M /trunk/core/src/visad/RealIface.java
>    M /trunk/core/src/visad/RealType.java
>    M /trunk/core/src/visad/ScalarMap.java
>    M /trunk/core/src/visad/Set.java
>    M /trunk/core/src/visad/SingletonSet.java
>    M /trunk/core/src/visad/UnionSet.java
> 
> More javadoc cleanup.
> ------------------------------------------------------------------------
> r5962 | tommyj | 2012-06-08 10:30:49 -0500 (Fri, 08 Jun 2012) | 1 line
> Changed paths:
>    M /trunk/core/src/edu/wisc/ssec/mcidas/AREAnav.java
>    M /trunk/core/src/edu/wisc/ssec/mcidas/AreaDirectory.java
>    M /trunk/core/src/edu/wisc/ssec/mcidas/AreaDirectoryList.java
>    M /trunk/core/src/edu/wisc/ssec/mcidas/CalibratorGvarG10.java
>    M /trunk/core/src/edu/wisc/ssec/mcidas/CalibratorGvarG12.java
>    M /trunk/core/src/edu/wisc/ssec/mcidas/CalibratorGvarG13.java
>    M /trunk/core/src/edu/wisc/ssec/mcidas/CalibratorGvarG8.java
>    M /trunk/core/src/edu/wisc/ssec/mcidas/CalibratorGvarG9.java
>    M /trunk/core/src/edu/wisc/ssec/mcidas/ConversionUtility.java
>    M /trunk/core/src/edu/wisc/ssec/mcidas/GMSXnav.java
>    M /trunk/core/src/edu/wisc/ssec/mcidas/GOESnav.java
>    M /trunk/core/src/edu/wisc/ssec/mcidas/GRIDnav.java
>    M /trunk/core/src/edu/wisc/ssec/mcidas/GVARnav.java
>    M /trunk/core/src/edu/wisc/ssec/mcidas/GridDirectoryList.java
>    M /trunk/core/src/edu/wisc/ssec/mcidas/LALOnav.java
>    M /trunk/core/src/edu/wisc/ssec/mcidas/LAMBnav.java
>    M /trunk/core/src/edu/wisc/ssec/mcidas/MERCnav.java
>    M /trunk/core/src/edu/wisc/ssec/mcidas/MOLLnav.java
>    M /trunk/core/src/edu/wisc/ssec/mcidas/MSATnav.java
>    M /trunk/core/src/edu/wisc/ssec/mcidas/MSGTnav.java
>    M /trunk/core/src/edu/wisc/ssec/mcidas/MSGnav.java
>    M /trunk/core/src/edu/wisc/ssec/mcidas/McIDASUtil.java
>    M /trunk/core/src/edu/wisc/ssec/mcidas/PSnav.java
>    M /trunk/core/src/edu/wisc/ssec/mcidas/RADRnav.java
>    M /trunk/core/src/edu/wisc/ssec/mcidas/RECTnav.java
>    M /trunk/core/src/edu/wisc/ssec/mcidas/TANCnav.java
> 
> Javadoc and very light cleanup.
> ------------------------------------------------------------------------
> r5961 | tomw | 2012-06-06 12:48:04 -0500 (Wed, 06 Jun 2012) | 1 line
> Changed paths:
>    M /trunk/core/src/visad/python/JPythonMethods.java
> 
> Rework area computation using copied IDV code; added some methods to
> get lat-lon data [458]
> ------------------------------------------------------------------------
> r5960 | rink | 2012-06-05 16:50:58 -0500 (Tue, 05 Jun 2012) | 2 lines
> Changed paths:
>    M /trunk/core/src/visad/java3d/ShadowFunctionOrSetTypeJ3D.java
> 
> one more textureToGroup sig
> 
> ------------------------------------------------------------------------
> r5959 | rink | 2012-06-05 14:06:54 -0500 (Tue, 05 Jun 2012) | 3 lines
> Changed paths:
>    M /trunk/core/src/visad/java3d/ShadowFunctionOrSetTypeJ3D.java
> 
> new textureToGroup signature to specify bi-linear or nearest neighor texture
> interpolation
> 
> ------------------------------------------------------------------------
> r5958 | rink | 2012-06-04 15:46:44 -0500 (Mon, 04 Jun 2012) | 2 lines
> Changed paths:
>    M /trunk/core/src/visad/bom/ShadowImageByRefFunctionTypeJ3D.java
> 
> fix indexing typo
> 
> ------------------------------------------------------------------------
> r5957 | donm | 2012-06-04 10:59:59 -0500 (Mon, 04 Jun 2012) | 2 lines
> Changed paths:
>    M /trunk/core/src/visad/data/CachedFlatField.java
> 
> pass along the copy flag to unpackFloats
> 
> ------------------------------------------------------------------------
> r5956 | rink | 2012-06-04 10:58:07 -0500 (Mon, 04 Jun 2012) | 2 lines
> Changed paths:
>    M /trunk/core/src/visad/bom/ShadowImageByRefFunctionTypeJ3D.java
> 
> Properly handle allocation of z-coord if isSphericalCoordSys=true
> (buildCurvedTexture)
> 
> ------------------------------------------------------------------------
> r5955 | tommyj | 2012-05-25 14:17:32 -0500 (Fri, 25 May 2012) | 1 line
> Changed paths:
>    A /trunk/core/src/edu/wisc/ssec/mcidas/CalibratorFY2.java
> 
> New FY2 Calibrator for Ghansham and co.  NOT TESTED YET, and clearly states 
> so.
> ------------------------------------------------------------------------
> r5954 | tommyj | 2012-05-25 14:15:15 -0500 (Fri, 25 May 2012) | 1 line
> Changed paths:
>    M /trunk/core/src/edu/wisc/ssec/mcidas/Calibrator.java
> 
> Add current and future FY2 sensor ids.
> ------------------------------------------------------------------------
> r5953 | rink | 2012-04-11 10:47:14 -0500 (Wed, 11 Apr 2012) | 4 lines
> Changed paths:
>    M /trunk/core/src/visad/bom/ShadowImageByRefFunctionTypeJ3D.java
> 
> Fix a problem with useLinearTexture not being detected when it should:
> get the cached dataCoordinateSystem if it was wrapped in a
> CachedCoordinateSystem
> 
> 
> 
> -- 
> Tom Whittaker
> University of Wisconsin-Madison
> Space Science & Engineering Center (SSEC)
> Cooperative Institute for Meteorological Satellite Studies (CIMSS)
> 1225 W. Dayton Street
> Madison, WI? 53706? USA
> ph: +1 608 262 2759
> 
> 
> 
> ------------------------------
> 
> Message: 2
> Date: Thu, 28 Jun 2012 11:02:46 -0500
> From: Tom Whittaker <whittaker@xxxxxxxx>
> To: Ankita Zalavadiya <ankitazalavadia@xxxxxxxxx>
> Cc: visad@xxxxxxxxxxxxxxxx
> Subject: Re: [visad] Creating Overlay problem
> Message-ID:
>       <CAA6nkJC8ja=9r7LpxwQ1wmxq=k_pzPQmRhwBNLmVrV5sAfPmVQ@xxxxxxxxxxxxxx>
> Content-Type: text/plain; charset=ISO-8859-1
> 
> Hi...
> 
> Without some information about georeferencing of the "image" it is not
> possible to overlay the map outline.
> 
> The OUTLnnnn files from McIDAS do not have a "projection" -- they just
> list latitude,longitude coordinates along the lines to be drawn.  See:
> <http://www.ssec.wisc.edu/mcidas/doc/prog_man/current/formats-26.html>
> 
> If you know the projection of the "image" data, then you can load in
> the "image" file using the built-in adapters, and then create a new
> FlatField with the domain which contains the georeferencing
> information.
> 
> If the image projection is a simple rectangular one (in latitude,
> longitude), then you can use the McIDAS-V / IDV "XML Image file" that
> allows you to specify these for any "image" (gif, png, jpg).
> 
> I hope that helps...
> 
> Best regards,
> 
> tom
> 
> On Wed, Jun 27, 2012 at 2:01 AM, Ankita Zalavadiya
> <ankitazalavadia@xxxxxxxxx> wrote:
>> Hi..
>>
>> ? I can create layers(image) from h5 file. ? i want to overlap these two
>> layer one is image and other is India map boundry(MCIDAS data,file-
>>
>> OUTLINDIA) but problem is that projection of both of are different .
>>
>> ?Image has no information related to projection and lat-long.and map(MCIDAS)
>> contains these information.how can i mapping between two layers?
>>
>> Does i need any other information in addition to these two(image and map
>> file)?how can i change projection of India boundry map file?.
>>
>>
>>
>> Thanks and Regard
>> Ankita
>>
>>
>> _______________________________________________
>> visad mailing list
>> visad@xxxxxxxxxxxxxxxx
>> For list information, to unsubscribe, visit:
>> http://www.unidata.ucar.edu/mailing_lists/
> 
> 
> 
> -- 
> Tom Whittaker
> University of Wisconsin-Madison
> Space Science & Engineering Center (SSEC)
> Cooperative Institute for Meteorological Satellite Studies (CIMSS)
> 1225 W. Dayton Street
> Madison, WI? 53706? USA
> ph: +1 608 262 2759
> 
> 
> 
> ------------------------------
> 
> _______________________________________________
> visad mailing list
> visad@xxxxxxxxxxxxxxxx
> For list information, to unsubscribe, visit: 
> http://www.unidata.ucar.edu/mailing_lists/ 
> 
> End of visad Digest, Vol 31, Issue 11
> *************************************
> 

--