Skip to main content

I'm working on a project where I need wave models created in MatLab. I have download them but when reading I get rotated coordinates.

For some reason, wave models operate with rotated coordinate systems as opposed to conventional ocean models (rlat, rlon). How can I manage to read and rotate this data with FME?

 

Is this concerning coordinate systems with rotated (offset) poles?

Unfortunately FME does not handle these very well out of the box, but there may be some workarounds.


Is this concerning coordinate systems with rotated (offset) poles?

Unfortunately FME does not handle these very well out of the box, but there may be some workarounds.

Yes, that's the problem. Here is a print screen:

 

 


Is this concerning coordinate systems with rotated (offset) poles?

Unfortunately FME does not handle these very well out of the box, but there may be some workarounds.

Yes, that's the problem. Here is a printscreen of the netcdf.

 

 

 


There are a couple of hints and tips over at this post that you may want to take a close look at:

https://knowledge.safe.com/questions/43959/netcdf-rotated-coordinate-system-rlat-rlon.html

It includes a small python library that I wrote to calculate back and forth between rotated poles and regular lon/lat. It's fairly easy to incorporate the functionality into FME (PythonCaller) if you know a little Python.

Hope it can help.


There are a couple of hints and tips over at this post that you may want to take a close look at:

https://knowledge.safe.com/questions/43959/netcdf-rotated-coordinate-system-rlat-rlon.html

It includes a small python library that I wrote to calculate back and forth between rotated poles and regular lon/lat. It's fairly easy to incorporate the functionality into FME (PythonCaller) if you know a little Python.

Hope it can help.

Thanks @david_r. I had already read this question but I was just wondering if FME had already a new solution. I will take a look at it.


There are a couple of hints and tips over at this post that you may want to take a close look at:

https://knowledge.safe.com/questions/43959/netcdf-rotated-coordinate-system-rlat-rlon.html

It includes a small python library that I wrote to calculate back and forth between rotated poles and regular lon/lat. It's fairly easy to incorporate the functionality into FME (PythonCaller) if you know a little Python.

Hope it can help.

David, I would be interested to look at the python, however time moves on and the safe site seems determined not to show me that link, has it been moved?


David, I would be interested to look at the python, however time moves on and the safe site seems determined not to show me that link, has it been moved?

It probably went missing in The Great Forum Migration a few months back. Here's the file in question: https://www.dropbox.com/s/mib2t17nrs92k1t/rotated_grid_transform.py?dl=0


David, I would be interested to look at the python, however time moves on and the safe site seems determined not to show me that link, has it been moved?

thanks David

 


Reply