Skip to main content
Question

How do convert a NetCDF-file to pointdata?


peteralstorp
Contributor
Forum|alt.badge.img

Hi, fellow FME-ers!

 

I have a NetCDF-file I have exported from ArcGIS Pro that I have attached (zipped). It was exported using the settings in the png-file in the same zip-file. I want to export every grid point in the file as a 3D-point with the Prediction as an attribute. Can anyone help me? I saw other threads about this but still couldn't figure out how to do it...

 

Kind regards,

Peter

3 replies

Forum|alt.badge.img+2

@peteralstorp​ Try RasterCellCoercer. You might have to use RasterSelector to select the band you want to work with


david_r
Evangelist
  • March 3, 2022
markatsafe wrote:

@peteralstorp​ Try RasterCellCoercer. You might have to use RasterSelector to select the band you want to work with

I'll just add that sometimes I find it's easier to use the RasterBandSeparator as it makes it easier to visualize which band you're working with.

Also, depending on the NetCDF convention used, you may have to disregard the first two bands as they sometimes contains the lat/long (or similar) grid, and not the actual measurements.

If the rasters are very big or if they have a lot of bands (long time series), you may sometimes get better performance by using the PointCloudCoercer rather than the RasterCellCoercer.


peteralstorp
Contributor
Forum|alt.badge.img
  • Author
  • Contributor
  • March 4, 2022

@Mark Stoakes​ @david_r​ Thank you, gentlemen, for your input!


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings