Welcome, Guest
Username: Password: Remember me
26 Oct 2020
GFS IS BACK IN PRODUCTION ON XYGRIB. We are now using a different server for the GFS data instead of NOMADS. NAM will wait until NOMADS is back in service.

GFS à nouveau disponible grâce à l'utilisation d'un autre serveur. Pour les modèles NAM, il faudra attendre la remise en service des serveurs NOMADS.

TOPIC:

run xygrib 2 years 2 months ago #139

Hi,

The sources on github are under development for version 1.1.1 and require different install actions. The libopenjp2 is not included. This version has not yet been released.

The Linux "build it yourself" package is in the download section of opengribs.org or in the "releases" section of github.
To be sure use use this link

After you build then issue "make install" the required files are copied to $HOME/XyGrib. Disregard the files the build area. Enter this user folder and issue
./XyGrib
to run the program.

If you need a simple way to run XyGrib on your Linux installation I suggest trying out the AppImage version. Simply download the file from this link on this site . Then open the archive in your home or other user folder and simply run the program by entering
./XyGrib-AppImage
It really is the simplest way to install and run.

Best,
D.

Please Log in or Create an account to join the conversation.

run xygrib 2 years 2 months ago #140

  • DomH
  • DomH's Avatar
  • Offline
  • Moderator
  • Moderator
  • La voile est ma passion
  • Posts: 106
  • Thank you received: 23
Hello,
Une solution temporaire avec la version 1.1.0 ici (déjà compilée) : github.com/dominiquehausser/XyGrib/releases/tag/v1.1.0
The new version 1.1.1 when released will be easier to compile and install at the desired place : detailled howto explanation will be given.
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

Please Log in or Create an account to join the conversation.

échec compilation sur debian stretch 2 years 2 months ago #141

  • xytux
  • xytux's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 9
  • Thank you received: 0
Hello davidgal and DomH and thank you for your answers !
I did the make install again :
/media/ds411/debian/xygrib/XyGrib-1.1.0-src# ls
data  INSTALL  Makefile		   README.md  XyGrib
grib  LICENSE  Makefile (copie 1)  src
root@t460s:/media/ds411/debian/xygrib/XyGrib-1.1.0-src# make
make: rien à faire pour « all ».
root@t460s:/media/ds411/debian/xygrib/XyGrib-1.1.0-src# make install
mkdir -p /root/XyGrib
mkdir -p /root/XyGrib/bin
cp -a data /root/XyGrib
cp -a grib /root/XyGrib
rm -f ./XyGrib
rm -f /root/XyGrib/bin/XyGrib
cp  -a src/XyGrib /root/XyGrib/bin
echo "#!/bin/bash" >> ./XyGrib
echo "cd /root/XyGrib" >> ./XyGrib
echo 'bin/XyGrib $*' >> ./XyGrib
chmod 755 ./XyGrib
cp -af XyGrib /root/XyGrib
and I have no

./XyGrib

in my 'user'
maybe because of
rm -f ./XyGrib
?

I will try the appimage.

thank you again :)

Please Log in or Create an account to join the conversation.

[resolu] compilation sur debian stretch 2 years 2 months ago #142

  • xytux
  • xytux's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 9
  • Thank you received: 0
ok, working :)
my launcher 'Xygrib' is in the src directory, not in my 'user root' where I was looking for :
root@t460s:/media/ds411/debian/xygrib/XyGrib-1.1.0-src# ls -l
total 68
drwxr-xr-x 8 jlg  jlg   4096 juin  22 13:37 data
drwxr-xr-x 2 jlg  jlg   4096 juin  22 13:37 grib
-rwxr-xr-x 1 jlg  jlg   2577 juin  21 17:53 INSTALL
-rwxr-xr-x 1 jlg  jlg  35821 juin  19 18:09 LICENSE
-rwxr-xr-x 1 jlg  jlg   1267 août  27 10:21 Makefile
-rwxr-xr-x 1 jlg  jlg   1242 juin  19 18:09 Makefile (copie 1)
-rwxr-xr-x 1 jlg  jlg   1314 juin  22 11:29 README.md
drwxr-xr-x 8 jlg  jlg   4096 août  27 15:07 src
-rwxr-xr-x 1 root root    42 août  29 10:07 XyGrib
root@t460s:/media/ds411/debian/xygrib/XyGrib-1.1.0-src# Xygrib
-su: Xygrib : commande introuvable
root@t460s:/media/ds411/debian/xygrib/XyGrib-1.1.0-src# ./XyGrib
and in order to use it as user :
/media/ds411/debian/xygrib/XyGrib-1.1.0-src# chown jlg:jlg XyGrib
maybe would be a good thing to put the src directory in the user directory.

Please Log in or Create an account to join the conversation.

user access 2 years 2 months ago #143

  • xytux
  • xytux's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 9
  • Thank you received: 0
wrote too quick : the 'chown' operation isn't enough as the shell ask to access to the '/root' :
/media/ds411/debian/xygrib/XyGrib-1.1.0-src$ ./XyGrib 
./XyGrib: ligne 2 : cd: /root/XyGrib: Permission non accordée
./XyGrib: ligne 3: bin/XyGrib: Aucun fichier ou dossier de ce type
jlg@t460s:/media/ds411/debian/xygrib/XyGrib-1.1.0-src$ cat ./XyGrib 
#!/bin/bash
cd /root/XyGrib
bin/XyGrib $*

Please Log in or Create an account to join the conversation.

[resolu] compilation sur debian stretch 2 years 1 month ago #144

  • xytux
  • xytux's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 9
  • Thank you received: 0
I re-installed in my user directory, installed 'sudo' (was used to 'su -') : now the ~/XyGrib directory is there :
~/XyGrib$ ls -l
total 16
drwxr-xr-x 2 jlg jlg 4096 août  29 12:34 bin
drwxr-xr-x 8 jlg jlg 4096 juin  22 13:37 data
drwxr-xr-x 2 jlg jlg 4096 juin  22 13:37 grib
-rwxr-xr-x 1 jlg jlg   46 août  29 12:34 XyGrib
and working, as user :) , with a little message :
~/XyGrib$ ./XyGrib 
libpng warning: iCCP: known incorrect sRGB profile

Please Log in or Create an account to join the conversation.

Time to create page: 0.029 seconds

Resources on this site will always be free and open with no commercialization. However, operating costs of the servers to pre-process and deliver GRIB files to XyGrib are not trivial.

If you found the site useful, please share in the effort and help keep us up and running

 

Please Support

Go to top