New Downloads )Issues

Following differences between first download on era5 website and second download throught this new site: Just an example using 2 different years.

sdfopen vort1000june1990.nc
Scanning self-describing file: vort1000june1990.nc
SDF file vort1000june1990.nc is open as file 1
LON set to 0 360
LAT set to -90 90
LEV set to 0 0
Time values set: 1990:6:1:0 1990:6:1:0
E set to 1 1

sdfopen vort1000june1994.nc
Scanning self-describing file: vort1000june1994.nc
read_ncatts: global attribute 2 type 10 not supported
read_ncatts: v attribute 1 type 10 not supported
read_ncatts: v attribute 3 type 10 not supported
read_ncatts: v attribute 5 type 10 not supported
read_ncatts: v attribute 8 type 10 not supported
read_ncatts: v attribute 9 type 10 not supported
read_ncatts: v attribute 10 type 10 not supported
read_ncatts: v attribute 11 type 10 not supported
read_ncatts: v attribute 16 type 10 not supported
read_ncatts: v attribute 18 type 10 not supported
read_ncatts: v attribute 19 type 10 not supported
read_ncatts: v attribute 27 type 10 not supported
SDF file vort1000june1994.nc is open as file 2

q file 2
File 2 :
Descriptor: vort1000june1994.nc
Binary: vort1000june1994.nc
Type = Gridded
Xsize = 1440 Ysize = 721 Zsize = 1 Tsize = 120 Esize = 1
Number of Variables = 2
expver 0 t expver
v 1 t,z,y,x
ga-> q file 1
File 1 :
Descriptor: vort1000june1990.nc
Binary: vort1000june1990.nc
Type = Gridded
Xsize = 1440 Ysize = 721 Zsize = 1 Tsize = 120 Esize = 1
Number of Variables = 1
vo 0 t,y,x Vorticity (relative)
ga->

Why do we have those differences? I am not sure what to do here and my scripts are all breaking once it tries to read data gotten from this new site. Since I can no longer access the last site, what am I suppose to do here? is there a new grads version? mine is 2.2.1
Please I really need help, I am trying for days to fix this issue and cant find a way.

I have same problem when i try to access the file in grads

I dont know what data you are trying to download but i found out that data from 1961-1990 previous site ( Divergence/u and v) were with different set levs when compared to the sama dataset for 1991-2020. Maybe you should look into each data separetly and check if they have different set levs . It seems to be working now here.

Attribute type 10 is NC_INT64 (long integer) and is not present in grads source code. The below applied on the github code [GitHub - j-m-adams/GrADS: The Grid Analysis and Display System (GrADS)] should do:
####################################################

diff --git a/src/gasdf.c b/src/gasdf.c
index 1de4fbf..de06b8f 100644
--- a/src/gasdf.c
+++ b/src/gasdf.c
@@ -3089,6 +3089,7 @@ nc_type type;
              }
              break;
            case (NC_LONG):
+        case (NC_INT64):
              sz = attlen * sizeof(long);
              ival = (long *) galloc(sz,"ival");
              status = nc_get_att_long(cdfid, varid, attname, ival);

############################################

Remember though that GrADS is dead, and no development is expected. Time to switch to something different.

1 Like

My professors at my uni told me that, I am going to switch as soon as I finish my TCC.I mean, I will have to learn either Python or something else, and I know for sure I have issues with programming since I can remember, thats why i havent changed from grads yet.