[geotk] Writing a GMT (i.e. NetCDF) grid

Martin Desruisseaux martin.desruisseaux at geomatys.fr
Fri Jan 27 13:56:18 EST 2012


Hello Brian

Le 27/01/12 02:21, Brian Schlining a écrit :
> I looked through the geotoolkit source and it looks like writing GMT grids 
> (netcdf) is not supported. When I try to write I get the following:
>
> org.geotoolkit.coverage.io.CoverageStoreException: Can?t write file 
> ?monterey_utm.grd?.
> File suffix ?grd? is unknown. Expected one of [, asc, bmp, dat, gif, jp2, 
> jpeg, jpg, pbm, pgm, png, ppm, tif, tiff, txt].
>
> So I was, perhaps naively, assuming that adding that feature is pretty 
> straight forward. I was going to start with the ArcGridWriter class as a 
> starting reference. I don't suppose there are any docs or guidelines around 
> for reference?

There is no documentation about how to write an image writer yet. But also, I 
must said Johann already started to write a NetCDF writer very recently. It is 
not yet pushed to Mercurial and Git, but I can try to push it next week. Would 
this time frame be okay for you?

     Martin



More information about the Geotoolkit mailing list