From info at uwbeinternational.org Mon Apr 5 13:27:08 2021 From: info at uwbeinternational.org (UwBe International - Severe Weather Research) Date: Mon, 5 Apr 2021 19:27:08 +0200 Subject: [gradsusr] Question about variables, if, else with maskout and const Message-ID: <8c8c402b-8fe9-a045-8393-a0cc98605bb8@uwbeinternational.org> Hello Everyone Sorry, i'm an a beginer in GrADS and came from php, etc. I have read many documentation and tutorials, but i have still problems to understand the const and maskout function. Now, i have a few questions and hope you can answer it and give me maybe a example. 1. how i can get a value from a variable? Example; i will get the temperature of tmp2m (result 71 fahreinheit or 65 fahreinheit, etc). 2. how i can write a if/else statement grads likely with const and maskout? Example, i will plot a shaded file and values only, if cape180mb are over 500J/kg and the shear is over 10m/s ? Example what i try to get: If the cape180mb is over 500J/kg AND the shear is over 10m/s, then grads should draw yellow color in the area, where caoe is over 500J and shear over 10m. on the other areas it should be nothing colored/drawed. I don't know all of it, but in PHP i would be solved the problem with if/else: if(cape >= 500 && shear > 10m/s) draw red shades over the areas with the values above else if (cape > 200 && < 500 && shear = 10m/s) draw yellow shades over the areas else draw nothing (the chart/color should be white/transaprent) Thank you for your inputs and help -- Freundliche Gr?sse / Best Regards Dominic Kurz Pr?sident / CEO *UwBe International* *Severe Weather Research & Taskforce* Einschlagstrasse 30 CH-4622 Egerkingen Switzerland Tel.: +41 78 340 46 78 Direct: +41 76 270 70 87 E-Mail: info at uwbeinternational.org Web: www.uwbeinternational.org Find us on Facebook -- Diese E-Mail wurde von Avast Antivirus-Software auf Viren gepr?ft. https://www.avast.com/antivirus -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: logo_uwbe_transparent_black_gross.png Type: image/png Size: 190518 bytes Desc: not available URL: From dele_oloruntoba at yahoo.co.uk Thu Apr 15 14:58:24 2021 From: dele_oloruntoba at yahoo.co.uk (Bamidele OLORUNTOBA) Date: Thu, 15 Apr 2021 20:58:24 +0200 Subject: [gradsusr] grads: missing required directory References: Message-ID: Hello all, I tried installing open grads opengrads-2.2.1.oga.1-bundle-x86_64-pc-linux-gnu-glibc_2.17.tar.gz on our HPC but i get the error message after *"grads: missing required directory"* attempting to run grads. Its my first time of attempting to install grads on an HPC. This is because i have very large files which I think my PC memory might not be able to handle. I will appreciate any assistance. Best regards, Bamidele -------------- next part -------------- An HTML attachment was scrubbed... URL: From kyle.clem at vuw.ac.nz Wed Apr 21 23:23:58 2021 From: kyle.clem at vuw.ac.nz (Kyle Clem) Date: Thu, 22 Apr 2021 03:23:58 +0000 Subject: [gradsusr] slow drawing plots on new 2020 macbook Message-ID: Hello everyone, I am trying to run GrADS on a new 2020 MacBook Pro and it takes about 20-30+ seconds to draw a basic plot. I can watch it slowly draw the map outline, the contour lines... it's painful. I am stumped. Does anyone know what's happening? -I am running GrADS 2.2.1 -I dug deep into my pocket and upgraded to what I thought was a "fast" version of the new MacBook Pro (Processor 2 GHz Quad-Core Intel Core i5) -The same version of GrADS is running perfectly fine on my older 2015 MacBook Pro (I did a Migration from the 2015 Macbook to the new 2020 MacBook which brought over GrADS without any issues, I think) If anyone has any ideas on what is going on and how to fix the problem I would greatly appreciate your help. Best wishes, Kyle -------------- next part -------------- An HTML attachment was scrubbed... URL: From msponsler at comcast.net Mon Apr 26 13:36:38 2021 From: msponsler at comcast.net (MARK SPONSLER) Date: Mon, 26 Apr 2021 10:36:38 -0700 (PDT) Subject: [gradsusr] SDFOpen Failure Message-ID: <1258118558.118486.1619458598793@connect.xfinity.com> Hi, I'm having an issue with the sdfopen command on the production dods server. Using the following command: sdfopen https://nomads.ncep.noaa.gov/dods/nam/nam20210426/nam_12z I receive the following error message: Scanning self-describing file: https://nomads.ncep.noaa.gov/dods/nam/nam20210426/nam_12z curl error details: Error: nc_open failed to open file https://nomads.ncep.noaa.gov/dods/nam/nam20210426/nam_12z NetCDF: I/O failure gadsdf: Couldn't ingest SDF metadata. And starting 4/20 with the 12Z run of the model, many of my batch jobs to retrieve data using the above approach no longer work. But it's funny, some still do work. Its a real head scratcher. Anybody have any insight as to what's going on? Thanks, Mark -------------- next part -------------- An HTML attachment was scrubbed... URL: From wesley.ebisuzaki at noaa.gov Mon Apr 26 15:10:46 2021 From: wesley.ebisuzaki at noaa.gov (Wesley Ebisuzaki - NOAA Federal) Date: Mon, 26 Apr 2021 15:10:46 -0400 Subject: [gradsusr] SDFOpen Failure In-Reply-To: <1258118558.118486.1619458598793@connect.xfinity.com> References: <1258118558.118486.1619458598793@connect.xfinity.com> Message-ID: Mark, Try Nomads: ncep.pmb.dataflow at noaa.gov Mailing list, help desk, science questions: https://nomads.ncep.noaa.gov/txt_descriptions/Help_Desk_doc.shtml Wesley On Mon, Apr 26, 2021 at 2:06 PM MARK SPONSLER wrote: > Hi, > I'm having an issue with the sdfopen command on the production dods > server. > > Using the following command: > sdfopen https://nomads.ncep.noaa.gov/dods/nam/nam20210426/nam_12z > > I receive the following error message: > > Scanning self-describing file: > https://nomads.ncep.noaa.gov/dods/nam/nam20210426/nam_12z > curl error details: > Error: nc_open failed to open file > https://nomads.ncep.noaa.gov/dods/nam/nam20210426/nam_12z > NetCDF: I/O failure > gadsdf: Couldn't ingest SDF metadata. > > And starting 4/20 with the 12Z run of the model, many of my batch jobs to > retrieve data using the above approach no longer work. But it's funny, some > still do work. Its a real head scratcher. > > Anybody have any insight as to what's going on? > > Thanks, > Mark > _______________________________________________ > gradsusr mailing list > gradsusr at gradsusr.org > http://gradsusr.org/mailman/listinfo/gradsusr > -------------- next part -------------- An HTML attachment was scrubbed... URL: From msponsler at comcast.net Tue Apr 27 13:00:08 2021 From: msponsler at comcast.net (MARK SPONSLER) Date: Tue, 27 Apr 2021 10:00:08 -0700 (PDT) Subject: [gradsusr] NOMADS/Dods 120 Connection Limit Info Message-ID: <124087542.351939.1619542809017@connect.xfinity.com> Hi Everyone, On 4/20/2021 with the 12z run of all models, NOAA implemented a brick wall limiter on the OpenDODs server to prevent some users from over-utilizing computer resources and to enable equitable access to everyone. I thought I'd share some info on that process. The limiter is set to prevent more than 120 connections in a 60 second period. A 'connection' in Grads terminology is a request for a single variable. If you access DODs via the sdfopen command, enable fwrite, and then perform a 'display' on a single variable, that constitutes a single 'connection'. While in fwrite (using sdfopen), if you set time = 1 and then display 5 variables, then start a loop and set time = 2 and display the same 5 variables, that is 10 connections from the limiters perspective. Sdfopen moves pretty quick, and if you're downloading data in loops, it's very easy to exceed the 120 connection limit. If you exceed the limit, the limiter will block your access to the 121st variable. Here's the error you will see in Grads (in this case the limiter tripped on the display of variable hgtprs): gancgrid error: nc_get_vara_double failed; NetCDF: Malformed or inaccessible DAP DATADDS Data Request Error: Error for variable 'hgtprs' Error ocurred at column 1 DISPLAY error: Invalid expression Expression = hgtprs The solution is simple. I added a few lines of code to all my sdfopen/fwrite GRads scripts to pause the script after 100 variables have been displayed/downloaded. That grads command (using the Windows sleep executable sleep.exe) would be something like: say 'Sleep for 60 secs to Prevent Hitting 120 connection limit' '!sleep.exe 60' say 'Continue Processing' There's probably a much more eloquent way to do this in UNIX and MacOS. Anyway - thought I'd share this tidbit of info. Thanks, Mark -------------- next part -------------- An HTML attachment was scrubbed... URL: From kyle.clem at vuw.ac.nz Wed Apr 28 19:11:09 2021 From: kyle.clem at vuw.ac.nz (Kyle Clem) Date: Wed, 28 Apr 2021 23:11:09 +0000 Subject: [gradsusr] display scorr on plot Message-ID: Hello all, I would like to display the spatial correlation (scorr) value on a plot rather than just having it printed to the command line. Is this possible? Thanks, Kyle ------------- Kyle Clem Postdoctoral Research Fellow School of Geography, Environment and Earth Sciences | Te Kura T?tai Aro Whenua Victoria University of Wellington | Te Herenga Waka 206 Cotton Building | 04 463 5642 | kyle.clem at vuw.ac.nz -------------- next part -------------- An HTML attachment was scrubbed... URL: From Moritzhaupt at web.de Sun Apr 18 11:35:28 2021 From: Moritzhaupt at web.de (Moritz Haupt (Web)) Date: Sun, 18 Apr 2021 15:35:28 -0000 Subject: [gradsusr] Problems by opening grads on Mac OS Big Sur Message-ID: Hello, I?m trying to run grads on my Mac OS Big Sur but always when I write grads to open it this problem comes up: dyld: Library not loaded: /Users/jma/grads/supplibs/lib/libpng15.15.dylib Referenced from: /usr/local/bin/grads Reason: image not found zsh: abort grads I?m facing this problems for a view days and can?t find a solution, I tried a lot but nothing worked. I do have the newest versions of homebrew, grads etc. Maybe you can help me! Thank you in advance! Kind regards, Moritz Haupt -------------- next part -------------- An HTML attachment was scrubbed... URL: