Skip to main content
Question

How to introduce time to NetCDF when converting from another raster format

  • June 16, 2021
  • 1 reply
  • 26 views

I have an ERDAS Imagine file I'm importing with a FeatureReader block. The Imagine file does not have a time component. I would like to introduce the time component to the NetCDF, effectively making a single band NetCDF with a time, latitude, longitude and value. I cannot seem to work out how to introduce a timestamp into the NetCDF.

 

It would be sufficient to take the current timstamp and make a variable of (time, latitude, longitude).

 

Any suggestions?

1 reply

david_r
Celebrity
  • June 16, 2021

It's slightly complicated, as you'll have to work with a single raster with one band per timestamp, as well as special list attributes containing the actual timestamp values.

I've found that the easiest way to find out what you need to supply to the writer, is to read a similar NetCDF into FME and to display it in the Inspector. You'll then see how the format attributes represent the content.

You'll also find the documentation to be indispensable: https://docs.safe.com/fme/html/FME_Desktop_Documentation/FME_ReadersWriters/netcdf/Feature_Representation.htm


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