Question

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

  • 16 June 2021
  • 1 reply
  • 8 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

Userlevel 4

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

Reply