libsim Versione 7.2.0
|
◆ gridinfo_encode_data()
Encode a data array into a grid_id object associated to a gridinfo object. This method encodes a 2-d array of proper size into the grid_id object associated to a gridinfo object. This can work if the gridinfo object has been correctly initialised and associated to a grid_id from an on-disk (template) dataset (grib_api or gdal file). The shape of the array must be conformal to the size of the grid previously set in the gridinfo object descriptors.
Definizione alla linea 1079 del file gridinfo_class.F90. 1080
1081
1082SUBROUTINE level_g2_to_dballe(ltype1,scalef1,scalev1,ltype2,scalef2,scalev2, lt1,l1,lt2,l2)
1083integer,intent(in) :: ltype1,scalef1,scalev1,ltype2,scalef2,scalev2
1084integer,intent(out) ::lt1,l1,lt2,l2
1085
1086
1087CALL g2_to_dballe(ltype1, scalef1, scalev1, lt1, l1)
1088CALL g2_to_dballe(ltype2, scalef2, scalev2, lt2, l2)
1089
1090CONTAINS
1091
1092SUBROUTINE g2_to_dballe(ltype, scalef, scalev, lt, l)
1093integer,intent(in) :: ltype,scalef,scalev
1094integer,intent(out) :: lt,l
|