<html><body><div style="font-family: arial,helvetica,sans-serif; font-size: 12pt; color: #000000"><div data-marker="__SIG_PRE__"><div>Probably file(s) not available.<br data-mce-bogus="1"></div><div>Error.."nc_open failed to open file ...."!<br data-mce-bogus="1"></div></div><div><br></div><hr id="zwchr" data-marker="__DIVIDER__"><div data-marker="__HEADERS__"><b>From: </b>"Jeff Chabot" <jsc219@gmail.com><br><b>To: </b>"GrADS Users Forum" <gradsusr@gradsusr.org><br><b>Sent: </b>Thursday, June 3, 2021 11:56:52 AM<br><b>Subject: </b>[gradsusr] GrADS help with NOMADS server<br></div><div><br></div><div data-marker="__QUOTED_TEXT__">I am running into two GrADS issues using sdfopen and NOMADS from NCEP.<br><br>Issue 1:<br><br>I am using GrADS to run some models for my website and just recently I<br>have been running into this error:<br><br>syntax error, unexpected WORD_STRING, expecting WORD_WORD<br>context: Error { code = 0; message =<br>"/gfs_0p25/gfs20210603/gfs_0p25_00z is not an available dataset"^;};<br><br>I am using the following sdfopen command:<br><br>sdfopen https://nomads.ncep.noaa.gov/dods/gfs_0p25/gfs20210603/gfs_0p25_00z<br><br>I have been using that format for years, but just the past few days I<br>have been receiving these errors.<br><br>Issue 2:<br><br>I believe that I am hitting the 120 connections limit despite adding<br>code to adjust for this limit:<br><br>I am now getting this error after defining one variable:<br><br>define precip = apcpsfc/25.4<br><br>gancgrid error: nc_get_vara_double failed; NetCDF: Malformed or<br>inaccessible DAP DATADDS<br>Data Request Error:  Error for variable 'apcpsfc'<br>  Error ocurred at column 1<br>DEFINE error:  Invalid expression.<br>gancgrid error: nc_get_vara_double failed; NetCDF: Malformed or<br>inaccessible DAP DATADDS<br>Data Request Error:  Error for variable 'apcpsfc'<br>  Error ocurred at column 1<br>DEFINE error:  Invalid expression.<br><br>I added a 60 second sleep command between variables to account for<br>your April 20th changes and things worked for a while, and now the<br>above error has returned.<br><br>GrADS code added:<br>say 'Sleep for 60 secs to Prevent Hitting 120 connection limit'<br>'!sleep 60'<br>say 'Continue Processing'<br><br>Any ideas or suggestions on these issues?  I had things working after<br>the April 20 NOMADS change, but since June, I have had these errors<br>and my code has stopped working.<br><br>P.S. Does anyone have sample code to check to see if sdfopen or define<br>commands will work and if not tell GrADS to quit so it doesn't waste<br>time creating blank maps?<br><br>Thanks again,<br><br><br>Jeff<br>_______________________________________________<br>gradsusr mailing list<br>gradsusr@gradsusr.org<br>http://gradsusr.org/mailman/listinfo/gradsusr<br></div></div></body></html>