Yves, just out of curiosity, which gdal version are you using? You might consider trying the dev version (1.9) as the netcdf driver has a quite a few fixes.
Please also send me the netcdf and vrt file (or post them somewhere). Etienne On Tue, Dec 13, 2011 at 10:21 AM, Yves Jacolin <[email protected]> wrote: > Le mardi 13 décembre 2011 13:01:24, Even Rouault a écrit : >> Selon Yves Jacolin <[email protected]>: >> > Hello, >> > >> > I am trying to create vrt files from netcdf files using only one >> > subdataset. FYI, the second step will be to create a vrt file with two >> > bandes linked to two >> > subdataset. >> > >> > I am using a first vrt file for begining created from a tif file as >> > template. The >> > vrt file using tif file is working correctly. The tiff file has been >> > created by >> > gdal_translate from the netcdf file. >> > >> > If I try to open the vrt file linked to netcdf file in QGIS no data is >> > dispaly, >> > values are null for all the dataset. QGIS medatada says "no data value". >> > >> > Any idea? >> >> Yves, >> >> did you try to create the VRT with "gdal_translate -of VRT netCDF:xxxxx >> netcdf.vrt" and see if it shows up correctly in QGIS (it should...). ? Then >> you can compare with the VRT you've created at hand. >> > Even, > > I tested and compared both files and they are similar (except that with > gdal_translate I have Metadata tags). Both are not working in QGIS: no value > in dataset! Translating into GTIFF is working but I want to keep vrt files to > working on them with MapServer. > > I can send you netcdf and vrt file if you want to test it. > > Thanks, > > Y. > -- > Yves Jacolin > > http://yjacolin.gloobe.org > _______________________________________________ > gdal-dev mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/gdal-dev _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
