Forums » Postprocessing »
convert rotated data into unrotated data
Added by Dirk Pavlik almost 8 years ago
Dear all,
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.
Best regards
Dirk
Replies (2)
RE: convert rotated data into unrotated data
-
Added by Burkhardt Rockel almost 8 years ago
I have no program to be called from the command line, but there are two subroutines (rlarot2rla
and 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 almost 8 years ago
Dear Burkhardt,
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.
Best regards
Dirk