Have anyone got rotated coordinate systems work with FME? See metadata below. If I just use the RasterGeoreferencer it does not rotate, and I do not have an angle for the Rotator...
Is there no way to define the coordinate system as a "rotated" one?
Have anyone got rotated coordinate systems work with FME? See metadata below. If I just use the RasterGeoreferencer it does not rotate, and I do not have an angle for the Rotator...
Is there no way to define the coordinate system as a "rotated" one?
Let me guess, COSMO-data?
Funny you should ask, I've been wrangling with exactly this for a while now. The bad news is that this particular coordinate system isn't supported by FME, but there is a way to do it yourself, although it's a bit convoluted. I'll post some more info later today when I have the time.
Thats great! There is a solution over at: https://wiki.met.no/fimex/start - however it demands linux - so its not an option for the moment.
Thats great! There is a solution over at: https://wiki.met.no/fimex/start - however it demands linux - so its not an option for the moment.
Here's a workspace that Dean Hintz from Safe developed to reproject a raster from rot.pol to lon/lat coordinates, hopefully it can give you some pointers.
rotatedspherical-3drotator-netcdf-v3.fmw
Just be aware that the rotated (south) pole is hardcoded at (10,-40) which might not be the exact parameters you want, so look out for those constants.
Also it's kind of a proof of concept, so I wouldn't trust the results too much without doing extensive testing on your side.
Alternatively, here's a small Python function I wrote that reprojects both ways between rot.pol and lon/lat with a custom pole position. It should be fairly easy to incorporate into a PythonCaller, look at the bottom 20 lines for some usage examples. Let me know if you have questions.
No guarantees given as it hasn't been fully tested yet...
Thank you David! I had a quick look at both - and it seems I need to get some hours of to see if I can fix it.I`ll let you know ASAP.
Thank you David! I had a quick look at both - and it seems I need to get some hours of to see if I can fix it.I`ll let you know ASAP.
Thank you David! I had a quick look at both - and it seems I need to get some hours of to see if I can fix it.I`ll let you know ASAP.