convert rotated data into unrotated data
Added by Dirk Pavlik over 7 years ago
I urgently need a Fortran routine to convert rotated data into unrotated data with geographical coordinates.
May be something like this: rot2geo <pollon,pollat,polgam> <infile> <outfile>.
Normally I do this with R because I’m not a Fortran expert, but for my current project works only Fortran. Has anyone a routine already there? That would be very helpful would save a lot of time.
I have no program to be called from the command line, but there are two subroutines (
phirot2phi) in the CCLM code in the subroutine utilities.f90 that you can use. You need to build your own program around these.
RE: convert rotated data into unrotated data - Added by Dirk Pavlik over 7 years ago
thank you for the hint. In the meanwhile we decided to do the “back-rotation” with the remapping tools of CDO (command: cdo remap,<grid>,<weights> <ifile> <ofile>). The first tests show that will work.