Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.
There is a data source (dods:// motherlode.ucar.edu/thredds/dodsC/fmrc/NCEP/RTMA/CONUS_2p5km/offset/NCEP-RTMA-CONUS_2p5km_Offset_1.0hr) which has RTMA precipitation analysis for the last 3 weeks or so of hourly analyses. Here is what I want to do... I would like to grab the most recent X number of hours of RTMA precipitation using ISL scripting. I have run into a problem using the traditional "times=" attribute for loading this data source because the number of total times available for this data source is not always at a constant number AND the most recent files are at the end of the list (i.e. index value of 590 of 590 times) instead of the beginning of the list (index value of 0). Obviously, I wouldn't have any problems if the most recent times were at the top and therefore could simply code "times=0:5" for the most recent 6 hours. As an example, yesterday the number of times was 569 and today it's 590, so I'm not sure when and how often this particular data source purges older files. In the metadata, I can see where the number of times is under the "dimensions:" section where "time1 = 590;" for example. Is there anyway to grab this value from the metadata or is there another way to code this to grab the most recent X number of times? Thanks! Mike U
idvusers
archives: