[gradsusr] Station time series ok on Open GrADS 2.0.1 but not on Open GrADS 2.2.1

Daniele Gandini daniele.gandini at arpa.piemonte.it
Thu Aug 20 04:43:32 EDT 2020



Dear GrADS Users,

sorry for the long mail but the question is important for us.

We have been using Open GrADS 2.0.1 on a Red Hat Enterprise Linux Server release 6.5
since many years with excellent results.

Now we are going to update both Linux server with Fedora 31 operating system
and Open GrADS version 2.2.1.

With Open GrADS 2.2.1 we aren't able to plot station time series
of the attached files written in Fortran 90 language. They are located in Piedmont, north-western Italy.
==============================================================================================================

grads -cl "open RETEA_PIEMO_20200810.ctl"

Welcome to the OpenGrADS Bundle Distribution
              --------------------------------------------

For additional information enter "grads --manual".

Starting "/usr/local/bin/Linux/Versions/2.2.1.oga.1/x86_64/grads   -cl 'open RETEA_PIEMO_20200810.ctl' " ...

ga-> set t 1 last
Time values set: 2020:8:10:0 2020:8:10:23
ga-> set lat 45
LAT set to 45 45
ga-> set lon 8
LON set to 8 8
ga-> d t2m(stid=90139)
Data Request Error: Invalid grid coordinates
  Varying dimension 1 decreases: 45 to 45
  Error ocurred getting variable 't2m'
  Error ocurred at column 1
DISPLAY error:  Invalid expression
  Expression = t2m(stid=90139)

=====================================================================================================================

Instead with Open GrADS 2.0.1:
 grads -cl "open RETEA_PIEMO_20200810.ctl"

              Welcome to the OpenGrADS Bundle Distribution
              --------------------------------------------

For additional information enter "grads -h".

Starting "/opt/grads-2.0.1.oga.1/Contents/Linux/Versions/2.0.1.oga.1/x86_64/grads   -cl 'open RETEA_PIEMO_20200810.ctl' " ...

ga-> set t 1 last
Time values set: 2020:8:10:0 2020:8:10:23
ga-> set lat 45
LAT set to 45 45
ga-> set lon 8
LON set to 8 8
ga-> d t2m(stid=90139)
ga->

all is ok.

Do you know which can be the problem?

In the following rows you can see how we installed Open GrADS 2.2.1

** Install & Configure OpenGrads ***
[root at xmeteo6 ~]# dnf install bc gcc-gfortran gdal gdal-python gdal-devel ImageMagick perl-Env
[root at xmeteo6 ~]# wget https://sourceforge.net/projects/opengrads/files/grads2/2.2.1.oga.1/Linux%20%2864%20Bits%29/opengrads-2.2.1.oga.1-bundle-x86_64-pc-linux-gnu-glibc_2.17.tar.gz -P /opt
[root at xmeteo6 ~]# cd /opt
[root at xmeteo6 opt]# tar xvzf opengrads-2.2.1.oga.1-bundle-x86_64-pc-linux-gnu-glibc_2.17.tar.gz
[root at xmeteo6 opt]# cp -rf opengrads-2.2.1.oga.1/Contents/* /usr/local/bin/
[root at xmeteo6 opt]# rm –rvf opengrads-2.2.1.oga.1/
[root at xmeteo6 opt]# rm -rvf opengrads-2.2.1.oga.1-bundle-x86_64-pc-linux-gnu-glibc_2.17.tar.gz
[root at xmeteo6 opt]# grads -p ==> to test the installation

Test Installation
root at xmeteo6 opt]# which perl; echo $?
/usr/bin/perl
0
[root at xmeteo6 opt]# which gcc; echo $?
/usr/bin/gcc
0
[root at xmeteo6 opt]# which gfortran; echo $?
/usr/bin/gfortran
0
[root at xmeteo6 opt]# which bc; echo $?
/usr/bin/bc
0
[root at xmeteo6 opt]# which curl; echo $?
/usr/bin/curl
0
[root at xmeteo6 opt]# which wget; echo $?
/usr/bin/wget
0
[root at xmeteo6 opt]# which convert; echo $?
/usr/bin/convert
0
[root at xmeteo6 opt]# which gdal_rasterize; echo $?
/usr/bin/gdal_rasterize
0
[root at xmeteo6 opt]# which gedit; echo $?
/usr/bin/gedit
0
[root at xmeteo6 opt]# which grads; echo $?
/usr/local/bin/grads
0

For each of these command lines, check status number display on the terminal:
if you see 0, then the package is installed; but if you have 1, the package is not installed.

Thank you in advance.

Daniele Gandini
Servizio Meteorologico ARPA Piemonte
Via Pio VII 9 - 10135 Turin (Italy)
http://www.arpa.piemonte.it/
Daniele.Gandini at arpa.piemonte.it
-------------- next part --------------
A non-text attachment was scrubbed...
Name: RETEA_PIEMO_20200810.ctl
Type: application/octet-stream
Size: 939 bytes
Desc: not available
URL: <http://gradsusr.org/pipermail/gradsusr/attachments/20200820/5600e07a/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: RETEA_PIEMO_20200810.dat
Type: application/octet-stream
Size: 2512704 bytes
Desc: not available
URL: <http://gradsusr.org/pipermail/gradsusr/attachments/20200820/5600e07a/attachment-0004.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: RETEA_PIEMO_20200810.map
Type: application/octet-stream
Size: 408 bytes
Desc: not available
URL: <http://gradsusr.org/pipermail/gradsusr/attachments/20200820/5600e07a/attachment-0005.obj>


More information about the gradsusr mailing list