Hi Yuan,
I am having the same exact issue as well as I am experimenting with dataset
that has TransverseMercatorProjection and LambertConformalConicEllipse.
Looking at GeotiffWriter
http://svn.unidata.ucar.edu/repos/thredds/tag/REL-TDS-4.2.8/cdm/src/main/java/ucar/nc2/geotiff/GeotiffWriter.java
I can see that currently GeotiffWriter only has implementations for the
following methods:
addLatLonTags
addPolarStereographicTags
addLambertConformalTags
addMercatorTags
addTransverseMercatorTags
addAlbersEqualAreaEllipseTags
addAlbersEqualAreaTags
but the writeGrid method only allows LatLon, LambertConformal, Stereographic,
Mercator, AlbersEqualAreaEllipse, AlbersEqualArea thus that is the reason why
our dataset melbourne-utm-patch-datumAdded.nc (TransverseMercatorProjection)
and melbourne3112-patch-datumAdded.nc (LambertConformalConicEllipse) are
failing to generate geotiff file.
Could we allow TransverseMercatorProjection as it is commented in writeGrid
method?
Has LambertConformalConicEllipse been implemented as well?
And lastly are you guys planning to implement all projections supported by CF
convention?
I could also see the possibility to use GDAL here to generate the required
geotiff file.
Regards,
Hendy