Changeset 8a65cb0 in flexpart.git for src/readwind_gfs.f90
- Timestamp:
- Mar 2, 2015, 3:11:55 PM (9 years ago)
- Branches:
- master, 10.4.1_pesei, GFS_025, bugfixes+enhancements, dev, release-10, release-10.4.1, scaling-bug, univie
- Children:
- 1d207bb
- Parents:
- 60403cd
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/readwind_gfs.f90
rf13406c r8a65cb0 143 143 !first see if we read GRIB1 or GRIB2 144 144 call grib_get_int(igrib,'editionNumber',gribVer,iret) 145 call grib_check(iret,gribFunction,gribErrorMsg)145 ! call grib_check(iret,gribFunction,gribErrorMsg) 146 146 147 147 if (gribVer.eq.1) then ! GRIB Edition 1 … … 149 149 !read the grib1 identifiers 150 150 call grib_get_int(igrib,'indicatorOfParameter',isec1(6),iret) 151 call grib_check(iret,gribFunction,gribErrorMsg)151 ! call grib_check(iret,gribFunction,gribErrorMsg) 152 152 call grib_get_int(igrib,'indicatorOfTypeOfLevel',isec1(7),iret) 153 call grib_check(iret,gribFunction,gribErrorMsg)153 ! call grib_check(iret,gribFunction,gribErrorMsg) 154 154 call grib_get_int(igrib,'level',isec1(8),iret) 155 call grib_check(iret,gribFunction,gribErrorMsg)155 ! call grib_check(iret,gribFunction,gribErrorMsg) 156 156 157 157 else ! GRIB Edition 2 … … 159 159 !read the grib2 identifiers 160 160 call grib_get_int(igrib,'discipline',discipl,iret) 161 call grib_check(iret,gribFunction,gribErrorMsg)161 ! call grib_check(iret,gribFunction,gribErrorMsg) 162 162 call grib_get_int(igrib,'parameterCategory',parCat,iret) 163 call grib_check(iret,gribFunction,gribErrorMsg)163 ! call grib_check(iret,gribFunction,gribErrorMsg) 164 164 call grib_get_int(igrib,'parameterNumber',parNum,iret) 165 call grib_check(iret,gribFunction,gribErrorMsg)165 ! call grib_check(iret,gribFunction,gribErrorMsg) 166 166 call grib_get_int(igrib,'typeOfFirstFixedSurface',typSurf,iret) 167 call grib_check(iret,gribFunction,gribErrorMsg)167 ! call grib_check(iret,gribFunction,gribErrorMsg) 168 168 call grib_get_int(igrib,'scaledValueOfFirstFixedSurface', & 169 169 valSurf,iret) 170 call grib_check(iret,gribFunction,gribErrorMsg)170 ! call grib_check(iret,gribFunction,gribErrorMsg) 171 171 172 172 !convert to grib1 identifiers … … 262 262 ! get the size and data of the values array 263 263 call grib_get_real4_array(igrib,'values',zsec4,iret) 264 call grib_check(iret,gribFunction,gribErrorMsg)264 ! call grib_check(iret,gribFunction,gribErrorMsg) 265 265 endif 266 266 … … 271 271 call grib_get_int(igrib,'numberOfPointsAlongAParallel', & 272 272 isec2(2),iret) 273 call grib_check(iret,gribFunction,gribErrorMsg)273 ! call grib_check(iret,gribFunction,gribErrorMsg) 274 274 call grib_get_int(igrib,'numberOfPointsAlongAMeridian', & 275 275 isec2(3),iret) 276 call grib_check(iret,gribFunction,gribErrorMsg)276 ! call grib_check(iret,gribFunction,gribErrorMsg) 277 277 call grib_get_real8(igrib,'longitudeOfFirstGridPointInDegrees', & 278 278 xauxin,iret) 279 call grib_check(iret,gribFunction,gribErrorMsg)279 ! call grib_check(iret,gribFunction,gribErrorMsg) 280 280 call grib_get_real8(igrib,'latitudeOfLastGridPointInDegrees', & 281 281 yauxin,iret) 282 call grib_check(iret,gribFunction,gribErrorMsg)282 ! call grib_check(iret,gribFunction,gribErrorMsg) 283 283 xaux=xauxin+real(nxshift)*dx 284 284 yaux=yauxin
Note: See TracChangeset
for help on using the changeset viewer.