GrADS - Script problem
Posted: Wed May 11, 2016 4:27 pm
'm new in GrADS, and I want to extract the temperature data for January 2000, but skipping the time 06 UTC, I'm having a hard time to save this data without the hours of 06 UTC, anyone can help me in what I am doing wrong ?
Code: Select all
'reinit' 'sdfopen temp_ar.nc' 'query time' time = substr(result,8,2) i = 1 while(time=06) 'set t 'i 'display air-273.15' tk = subwrd(result, 4) rc = write("temp.dat", tk) i = i + 1 endwhile