RE: [Qgis-user] GDAL and .nc (netCDF) and qgis
I've now been able to open the data in VCDAT (Xterm on mac) and it is the correct way up, so possibly a bug in the way qgis/gdal (on windowsXP pc) handles .nc files. The files are quite large 1gb+ if this makes a difference. On Tue, Jan 12, 2010 at 11:04 AM, M.E.Dodd m.e.d...@open.ac.uk wrote: Thanks for the replies on this one. I am indeed looking at other tools to open netCDF files. However I just noticed that in qgis 1.4 there is a .nc option (well two actually presumably different formats) when opening a raster image. So I tried it, unfortunately the file opened upside down and possibly a little smaller than it should have done. Has anyone else used this in qgis to confirm the qgis part is working OK so I can go back to the data provider and check the original data itself. -Original Message- From: Mike Toews [mailto:mwto...@sfu.ca] Sent: 07 January 2010 18:19 To: M.E.Dodd Cc: qgis-user@lists.osgeo.org Subject: Re: [Qgis-user] GDAL and .nc (netCDF) and qgis M.E.Dodd wrote: I would like to open some large gridded met data files, produce means of the values for each grid square (data for each square are given each year for a number of years and I want a mean of all the years) and write the data out again showing just the means per grid square. I would look at other tools for doing calculations on multi-dimensional NetCDF files. I've used NCO in the past for this,[1] which can average a time dimension in a 3D grid to produce a 2D grid (which can be converted to any other raster format using GDAL). You can do much more with NCO utilities. However, NCO is not user-friendly, since it is command-line work, requires a lot of documentation reading to understand the usage, and is available for almost all operating systems except MS Windows. [1] http://nco.sourceforge.net -Mike The Open University is incorporated by Royal Charter (RC 000391), an exempt charity in England Wales and a charity registered in Scotland (SC 038302). ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user The Open University is incorporated by Royal Charter (RC 000391), an exempt charity in England Wales and a charity registered in Scotland (SC 038302). ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
RE: [Qgis-user] GDAL and .nc (netCDF) and qgis
Thanks for the replies on this one. I am indeed looking at other tools to open netCDF files. However I just noticed that in qgis 1.4 there is a .nc option (well two actually presumably different formats) when opening a raster image. So I tried it, unfortunately the file opened upside down and possibly a little smaller than it should have done. Has anyone else used this in qgis to confirm the qgis part is working OK so I can go back to the data provider and check the original data itself. -Original Message- From: Mike Toews [mailto:mwto...@sfu.ca] Sent: 07 January 2010 18:19 To: M.E.Dodd Cc: qgis-user@lists.osgeo.org Subject: Re: [Qgis-user] GDAL and .nc (netCDF) and qgis M.E.Dodd wrote: I would like to open some large gridded met data files, produce means of the values for each grid square (data for each square are given each year for a number of years and I want a mean of all the years) and write the data out again showing just the means per grid square. I would look at other tools for doing calculations on multi-dimensional NetCDF files. I've used NCO in the past for this,[1] which can average a time dimension in a 3D grid to produce a 2D grid (which can be converted to any other raster format using GDAL). You can do much more with NCO utilities. However, NCO is not user-friendly, since it is command-line work, requires a lot of documentation reading to understand the usage, and is available for almost all operating systems except MS Windows. [1] http://nco.sourceforge.net -Mike The Open University is incorporated by Royal Charter (RC 000391), an exempt charity in England Wales and a charity registered in Scotland (SC 038302). ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] GDAL and .nc (netCDF) and qgis
For a quick check of the data, you might want to use OpenEV. It is part of the FWTools distribution. http://fwtools.maptools.org/ http://openev.sourceforge.net/ David. On Tue, Jan 12, 2010 at 11:04 AM, M.E.Dodd m.e.d...@open.ac.uk wrote: Thanks for the replies on this one. I am indeed looking at other tools to open netCDF files. However I just noticed that in qgis 1.4 there is a .nc option (well two actually presumably different formats) when opening a raster image. So I tried it, unfortunately the file opened upside down and possibly a little smaller than it should have done. Has anyone else used this in qgis to confirm the qgis part is working OK so I can go back to the data provider and check the original data itself. -Original Message- From: Mike Toews [mailto:mwto...@sfu.ca] Sent: 07 January 2010 18:19 To: M.E.Dodd Cc: qgis-user@lists.osgeo.org Subject: Re: [Qgis-user] GDAL and .nc (netCDF) and qgis M.E.Dodd wrote: I would like to open some large gridded met data files, produce means of the values for each grid square (data for each square are given each year for a number of years and I want a mean of all the years) and write the data out again showing just the means per grid square. I would look at other tools for doing calculations on multi-dimensional NetCDF files. I've used NCO in the past for this,[1] which can average a time dimension in a 3D grid to produce a 2D grid (which can be converted to any other raster format using GDAL). You can do much more with NCO utilities. However, NCO is not user-friendly, since it is command-line work, requires a lot of documentation reading to understand the usage, and is available for almost all operating systems except MS Windows. [1] http://nco.sourceforge.net -Mike The Open University is incorporated by Royal Charter (RC 000391), an exempt charity in England Wales and a charity registered in Scotland (SC 038302). ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] GDAL and .nc (netCDF) and qgis
Is it possible to open .nc files and manipulate them in qgis? If so, how? It seems GDAL can deal with this format and qgis uses GDAL but I don't really understand how it all interacts. I would like to open some large gridded met data files, produce means of the values for each grid square (data for each square are given each year for a number of years and I want a mean of all the years) and write the data out again showing just the means per grid square. The Open University is incorporated by Royal Charter (RC 000391), an exempt charity in England Wales and a charity registered in Scotland (SC 038302). ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] GDAL and .nc (netCDF) and qgis
M.E.Dodd wrote: I would like to open some large gridded met data files, produce means of the values for each grid square (data for each square are given each year for a number of years and I want a mean of all the years) and write the data out again showing just the means per grid square. I would look at other tools for doing calculations on multi-dimensional NetCDF files. I've used NCO in the past for this,[1] which can average a time dimension in a 3D grid to produce a 2D grid (which can be converted to any other raster format using GDAL). You can do much more with NCO utilities. However, NCO is not user-friendly, since it is command-line work, requires a lot of documentation reading to understand the usage, and is available for almost all operating systems except MS Windows. [1] http://nco.sourceforge.net -Mike ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user