libsim  Versione 7.1.7

◆ griddim_set_central_lon()

subroutine, public grid_class::griddim_set_central_lon ( type(griddim_def), intent(inout)  this,
double precision, intent(in)  lonref 
)

Euristically reset the approximate central longitude of the grid to a value compatible to the provided longitude lonref.

The method depends on the projection used.

Parametri
[in,out]thisgrid descriptor
[in]lonrefreference longitude

Definizione alla linea 821 del file grid_class.F90.

822 ! Projection-dependent keys
823 SELECT CASE (this%grid%proj%proj_type)
824 
825 ! Keys for spherical coordinate systems
826 CASE ('regular_ll', 'rotated_ll', 'stretched_ll', 'stretched_rotated_ll')
827 
828  CALL grib_get(gaid,'longitudeOfFirstGridPointInDegrees',lofirst)

Generated with Doxygen.