Parent Directory | Revision Log | Revision Graph
Links to HEAD: | (view) (download) (annotate) |
Links to checkpoint66a: | (view) (download) (annotate) |
Sticky Tag: |
- rename S/R CALC_ANGLES to CALC_GRID_ANGLES and move it outside rotate_spherical_polar_grid.F into specific file calc_grid_angles.F
avoid using uninitialised variables in CALC_ANGLES (with #define W2_FILL_NULL_REGIONS, was stopping with open64+trapuv on ACES)
add the computation of the cos/sin(angle between model north and geographical north). I put the new routine into rotate_spherical_polar_grid.F, and so far the only place where it is called is from ini_spherical_polar_grid.F. But I guess it could also be called elsewhere (whenever AngleCosN and AngleSinN are not read or incorrect[=0]).
add parameter rotateGrid and Euler angles EulerPhi/Theta/Psi. For usingSphericalGrid, this allows to define the rotated grid coordinates via phiMin/thetaMin/dxSpacing/dySpacing, etc., but then re-compute the geographical coordinates according to the inverse of the rotation defined by the Euler angles, so that Coriolis parameter and online-interpolation by exf works with the geographical coordinates on XC/YC/XG/YG. The three Euler angles PhiEuler, ThetaEuler, and PsiEuler define the rotation about the original z-axis (of an sphere centered cartesian grid), the new x-axis, and the new z-axis, respectively. Naturally, this feature does not work with all packages, so the some combinations are prohibited in config_summary (flt, flt_zonal, ecco, profiles), because there the coordinates are assumed to be regular spherical grid coordinates.
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.
ViewVC Help | |
Powered by ViewVC 1.1.22 |