gnnnn!!!
Has anyone succesfully used IPCC climate NetCDF data - model outputs in ArcGIS? I have been tearing my head over trying to get something like this to open in ArcGIS - and then looking for alternative ways to get this into a workable state (tiff, ascii grid whatever). I have examined the data in Panopoly, and the data looks ok, and I found an extremely complicated workaround through that software.
If anyone is interested to play with it - http://nomads.gfdl.n...O0.2001-2300.nc - one of the pieces that I tried to view.
Tearing my hairs over NetCDF
Started by
frax
, May 16 2008 07:59 AM
12 replies to this topic
#1
Posted 16 May 2008 - 07:59 AM
#2
Posted 16 May 2008 - 08:43 AM
Well...
It's supported (reading) by FME Professional and up. It appears there needs to be a TAB file for georeferencing as well and it looks as though it supports more bands than an Arc Ascii grid, but that's nothing that can't be fixed...
It's supported (reading) by FME Professional and up. It appears there needs to be a TAB file for georeferencing as well and it looks as though it supports more bands than an Arc Ascii grid, but that's nothing that can't be fixed...
Hans van der Maarel - Cartotalk Editor
Red Geographics
Email: hans@redgeographics.com / Twitter: @redgeographics
Red Geographics
Email: hans@redgeographics.com / Twitter: @redgeographics
#3
Posted 16 May 2008 - 09:00 AM
did you take a peek at the file I referred to? (if you have time/energy and are curious?)
I don't worry so much about the georeferencing, I can do that later, when I get it in a format I can handle...
NetCDF is often used for temporal data, and the data I am looking at is that - so each time interval can be seen as a band.
I don't worry so much about the georeferencing, I can do that later, when I get it in a format I can handle...
NetCDF is often used for temporal data, and the data I am looking at is that - so each time interval can be seen as a band.
#4
Posted 17 May 2008 - 07:50 PM
It seems that the best way to get NetCDF to grid is to create a feature layer first, (http://forums.esri.c...p...40&t=213677) and then convert it to raster. Be sure that you set the Row Dimensions to lat and long, or you will get just one point. I've attached the shapefile that I generated.
Good luck.
Good luck.
Attached Files
#5
Posted 18 May 2008 - 03:14 AM
I would recommend using gdal_translate in FWTools to extract the layers or subdatasets you need into some sensible format. You can fix up any georegistration issues with that if needed.
#6
Posted 18 May 2008 - 04:19 AM
Actually that won't work, the raster is not on a regular grid in Y, and there's no control points for gdalwarp to use.
The route involving interpreting it as a vector layer is probably your best bet, but certainly gdal will translate it into a usable GeoTIFF or whatever you like (it does have subdatasets so you need to use them in the file name argument) and handle the non-regular Y in some way afterwards. (Some netcdf files I've seen have lon/lat stored but really it's a regular Mercator grid, that doesn't seem to be the case here: see the attached plot of the latitudes). You might be able to use the gdalwarp route with control points set up manually, but I'm not familiar with that.
I'd follow up the NOAA site to see how they use it, but if you aren't using Matlab or R or something that can georeference a non-regular "grid" then the vector workaround is probably all you have.
The route involving interpreting it as a vector layer is probably your best bet, but certainly gdal will translate it into a usable GeoTIFF or whatever you like (it does have subdatasets so you need to use them in the file name argument) and handle the non-regular Y in some way afterwards. (Some netcdf files I've seen have lon/lat stored but really it's a regular Mercator grid, that doesn't seem to be the case here: see the attached plot of the latitudes). You might be able to use the gdalwarp route with control points set up manually, but I'm not familiar with that.
I'd follow up the NOAA site to see how they use it, but if you aren't using Matlab or R or something that can georeference a non-regular "grid" then the vector workaround is probably all you have.
#7
Posted 18 May 2008 - 05:03 AM
MVP points to mckirk - that did it! Thanks, I wasn't sure on how to use that Arc tool to display it, and "Row dimensions" seemed like a black hole to me, I had no idea what to put in there...
But... I seem to have follow up question - the values seem to be the same regardless of what I put in for time...
But... I seem to have follow up question - the values seem to be the same regardless of what I put in for time...
#8
Posted 18 May 2008 - 10:50 AM
I confess that I'm entirely ignorant of what the data represent. Is "sic" a measure of presence of sea ice? Anyway, when I fiddled with the Time Dimension settings in Layer Properties, I did see some variation in the "sic" values in the polar regions. I've attached a crude animation of the change with frames at 2001, 2015 and 2030.
sic_anim.gif 62.35K
54 downloads
sic_anim.gif 62.35K
54 downloads
#9
Posted 18 May 2008 - 12:20 PM
sic = sea ice concentration - I will look at it again now!
#10
Posted 18 May 2008 - 01:07 PM
I can't seem to get the time dimension to display properly...
I can see the date in the layer properties, and I have it set to the maximum: "2300-04-21 12:00:00" but it still displays the same point values as for "2001-07-02 12:00:00" (default/minimum)
This is what it looks like (see attachment)
I can see the date in the layer properties, and I have it set to the maximum: "2300-04-21 12:00:00" but it still displays the same point values as for "2001-07-02 12:00:00" (default/minimum)
This is what it looks like (see attachment)
Attached Files
#11
Posted 18 May 2008 - 04:04 PM
Hmm... looks right to me. I tried the same thing, clicked OK and got different concentration values around the poles (with an average decrease of 12.74). Maybe there's a problem with your feature layer. I used the following settings when generating the layer:
Variables: sic
X Variable: lon
Y Variable: lat
Row Dimensions: lon, lat
Dimension Values: time
Variables: sic
X Variable: lon
Y Variable: lat
Row Dimensions: lon, lat
Dimension Values: time
#12
Posted 18 May 2008 - 05:22 PM
mckirk - I used those same settings. Do you get the dates presented in iso format( yyyy-mm-dd hh-MM) or in any other format (dd/mm/YYYY for instance). I have a vague feeling that there could be a locale bug in ArcGIS...
#13
Posted 18 May 2008 - 07:06 PM
I imagine that you've already confirmed this yourself, but you're right! After I modified the regional options on my machine, changes in the Time Dimension produced no change in the concentration values. Apparently, ArcMap isn't clever enough to match regional date formats to the format in the NetCDF. The default regional date settings (in WinXP) for the U.S. will work:
M/d/yyyy
h:mm:ss tt
M/d/yyyy
h:mm:ss tt
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users


Sign In
Create Account

Sweden
Back to top
Netherlands
United States

Australia








