This project is read-only.

netCDF support using SDS: Scientific DataSet library

Feb 3, 2011 at 1:26 PM

Could there be a possibility to open netCDF files from dotspatial by creating a new provider that utilises SDS (http://sds.codeplex.com/) to read netCDF files ?

Feb 3, 2011 at 4:40 PM

I'm not sure about what SDS is, but certainly the concept of a netCDF provider is possible.  The only thing that may cause trouble there is that I think netCDF can support both raster and vector data.  So it isn't specifically a Vector provider and it isn't specifically a raster provider.  We would need to think about how to handle that situation.  It might take some framework enhancement to support that determination on the fly.  What we might do is create both a Vector provider and a raster provider.  If, for instance, the vector provider tries to open the file and it turns out that it is a raster, then the vector provider could just fail.  That approach should work as long as if all vector providers fail it moves on to raster providers or something like that.

But in general, yes it could be done.  If you want it done sooner, we can make you a developer so that you could help implement this, or you can talk to Dan about funding a feature request implemented by student programmers.

Ted

 

Feb 3, 2011 at 5:07 PM

Thanks for the SDS project link, that looks very promising.

Having full support for netCDF raster data is in DotSpatial is also a high priority for our HydroDesktop application which is built on DotSpatial. 

(http://hydrodesktop.codeplex.com/workitem/4187)

Is there any step-by step tutorial or simple example how to create a custom raster data provider for DotSpatial?

Feb 18, 2011 at 1:22 PM

If you are interested in a provider please see this link :

http://dotspatial.codeplex.com/discussions/246449

I am currently trying to create a provider but i have to investigate more on the netCDF format as i have very little knowledge on how it works.