Cannot load certain grib files

Image Ici on parle français ou anglais, comme on veut, comme on peut.
Image Here we speak french or english, as we want, as we can.

Moderator: jza

Forum rules
Image Ici on parle français ou anglais, comme on veut, comme on peut, mais on n'oublie jamais que l'on discute entre humains.
Il ne faut surtout pas oublier les mots magiques: bonjour, salut, merci, etc.
Les messages impolis sont rejetés et restent sans réponse.
Il faut souvent être patient, car il y a plein d'autres activités encore plus passionantes dans notre vie.

Image Here we speak french or english, as we want, as we can, but we never forget that we discuss between humans.
Do not forget the magic words: hello, hi, thank you, etc.
Rude messages are rejected and remain unanswered.
It is often necessary to be patient because there are many other activities even more exciting in our life.
Post Reply
franz
Posts: 1
Joined: 03 Apr 2012 18:20

Cannot load certain grib files

Post by franz » 03 Apr 2012 18:44

Hi forum,

Using zyGrib 3.9.2 on Ubuntu oneiric 64bit I get the following error when trying to load a GRIB-file issued by the Croatian Hygrological Center (DHMZ) I get the following error in a popup window:
"File xyz.grb - Cannot open file - it's not a GRIB file or contains unrecognized data or ..."
The same file opens fine in other GRIB viewers and OpenCPN on Ubuntu.

The terminal shows the following information when trying to load the GRIB file:
====== GribRecord 1 : verticalDataAreMirrored()
idCenter=221 idModel=1 idGrid=255
dataType=33 levelType=105 levelValue=10
hour=0
sav xmin=14,525000 xmax=17,875000 ymin=44,374000 ymax=41,926000
final xmin=14,525000 xmax=17,875000 ymin=41,926000 ymax=44,374000
Ni=135 Nj=137
hasDiDj=1 Di,Dj=(0,025000 0,018000)
final Di,Dj=(0,025000 0,018000)
hasBMS=0 isScanIpositive=1 isScanJpositive=0 isAdjacentI=1
====== GribRecord 1 : translateDataType() : Unknown GribRecord
idCenter=221 idModel=1 idGrid=255
dataType=33 levelType=105 levelValue=10
hour=0
sav xmin=14,525000 xmax=17,875000 ymin=44,374000 ymax=41,926000
final xmin=14,525000 xmax=17,875000 ymin=41,926000 ymax=44,374000
Ni=135 Nj=137
hasDiDj=1 Di,Dj=(0,025000 0,018000)
final Di,Dj=(0,025000 0,018000)
hasBMS=0 isScanIpositive=1 isScanJpositive=0 isAdjacentI=1

... same information repeated for every record up to record 146, followed by:

DBG MblueReader.cpp: 36: openFile(): MblueReader::loadFile 'xyz.grb'
DBG Terrain.cpp: 563: loadMeteoDataFile(): ERROR: unknown file type

File is attached.
Any hints?

thx a lot,
franz
Attachments
XYZ.grb.bz2
(473.68 KiB) Downloaded 621 times

DomH
Site Admin
Posts: 303
Joined: 23 Jan 2009 09:03

Re: Cannot load certain grib files

Post by DomH » 05 Apr 2012 10:48

franz wrote:Hi forum,

Using zyGrib 3.9.2 on Ubuntu oneiric 64bit ...

thx a lot,
franz
I suggest that you use a recent version that work well and is already deb packaged:

see : https://zygrib.org/forum/viewtopic.php?f=7&t=156
Bonne journée ou bonne soirée (vous pouvez choisir)
Have a nice day or good night (you can choose)
Guten Morgen oder gute Nacht (Sie können wählen)

DomH

jza
Site Admin
Posts: 601
Joined: 19 Jan 2009 00:22

Re: Cannot load certain grib files

Post by jza » 10 Apr 2012 22:11

Hi,
It's a choice: zyGrib does not displays grib files when it does not knows the meteorological center,
because there are a lot of suspicious grib files on internet.
At this time, it does not knows Croatian Hygrological Center grib files.
If these data are freely distributed, I can probably do something to change it,
but I don't know how and where to retreive these files. It is a prerequisite.

Domh is right: zyGrib 3.9.2 is a very old version. There has been much improvement since.
A+
Jacques

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 33 guests