libsim Versione 7.2.4

◆ griddim_coord_proj()

elemental subroutine griddim_coord_proj ( type(griddim_def), intent(in) this,
double precision, intent(in) lon,
double precision, intent(in) lat,
double precision, intent(out) x,
double precision, intent(out) y )
private

Computes and returns coordinates in the projected system given the geographical coordinates.

Parametri
[in]thisdefinition of projection
[in]longeographical coordinates
[in]latgeographical coordinates
[out]xprojected coordinates
[out]yprojected coordinates

Definizione alla linea 582 del file grid_class.F90.

583! now reset rotated coordinates around zero
584 IF (c_e(this%grid%grid%xmin) .AND. c_e(this%grid%grid%xmax)) THEN
585 lonrot = 0.5d0*(this%grid%grid%xmin + this%grid%grid%xmax)
586 ENDIF
587 londelta = lonrot
588 CALL long_reset_to_cart_closest(londelta, 0.0d0)
589 londelta = londelta - lonrot
590 this%grid%grid%xmin = this%grid%grid%xmin + londelta

Generated with Doxygen.