Skip to main content
Solved

NETCDF .nc4 and wrong dimensions

  • February 17, 2023
  • 1 reply
  • 29 views

Capture d’écran 2023-02-17 140932Hello, I'm currently working with FME 2022.1 on NETCDF files from https://daac.ornl.gov/cgi-bin/dsviewer.pl?ds_id=1851

 

The files are .nc4 and when I try to open them on FME Workbench I have this warning. (on picture)

 

It seems that FME can't link the dimensions defined in the file with its own "lat/lon and time functions"

 

I tried opening these files on ArcMap 10.8.1 and the dimensions are immediately recognized correctly. 

 

How can I make FME understand that lat = lat, lon = lon and time = time ? Or how can I set it when reading the nc4 file ?

 

 

Best answer by kailinatsafe

Hello @nokram​, thanks for sharing the data link! It looks like the dimensions on this NetCDF file are ordered as: lat, lon, time, whereas typically dimensions are ordered as: time, lat, lon. This is completely fine and acceptable, but this is likely why you're seeing those WARNINGS printed to the logfile. All warnings aside, it looks like FME is reading the data correctly!

 

I'll file an issue with our development team to have these log messages removed (FMEENGINE-76677). In the meantime, it's safe to ignore the warnings! Happy to help, Kailin.

View original
Did this help you find an answer to your question?

1 reply

kailinatsafe
Safer
Forum|alt.badge.img+21
  • Safer
  • Best Answer
  • February 17, 2023

Hello @nokram​, thanks for sharing the data link! It looks like the dimensions on this NetCDF file are ordered as: lat, lon, time, whereas typically dimensions are ordered as: time, lat, lon. This is completely fine and acceptable, but this is likely why you're seeing those WARNINGS printed to the logfile. All warnings aside, it looks like FME is reading the data correctly!

 

I'll file an issue with our development team to have these log messages removed (FMEENGINE-76677). In the meantime, it's safe to ignore the warnings! Happy to help, Kailin.


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