libsim  Versione 7.2.1

◆ 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 825 del file grid_class.F90.

826 CASE ('regular_ll', 'rotated_ll', 'stretched_ll', 'stretched_rotated_ll')
827 
828  CALL grib_get(gaid,'longitudeOfFirstGridPointInDegrees',lofirst)
829  CALL grib_get(gaid,'longitudeOfLastGridPointInDegrees',lolast)
830  CALL grib_get(gaid,'latitudeOfFirstGridPointInDegrees',lafirst)
831  CALL grib_get(gaid,'latitudeOfLastGridPointInDegrees',lalast)
832 

Generated with Doxygen.