NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
Hi Dan, I cannot recreate this issue in the latest release of tdm (v4.6.3). That's really weird because the hash you gave for tdm-4.6.jar is the same one I have (c97a881c1a7960df2c366d04e9ea5f1b), and yet the line numbers in the stack trace don't make sense (many of them correspond to lines that aren't even executable). This may be a dumb question, but are you absolutely sure that you're using the latest version [1]? As a sanity check, it might help to download a fresh copy and try again. Cheers, Christian [1] ftp://ftp.unidata.ucar.edu/pub/thredds/4.6/current/thredds.war On Wed, Nov 4, 2015 at 8:03 AM, Dan Swank - NOAA Affiliate < dan.swank@xxxxxxxx> wrote: > Right, I thought that would do it, but now: > > java -Xmx4g -classpath tdm-4.6.jar thredds.tdm.GCpass1 -isGrib2 -regexp > "\d{6}/\d{8}/YTU..._KWBN_\d*$" -rootDir "/global/dataset/model/ndfd/" > -useCacheDir "/raid/tomcat/tdm45/cache-dev/GribIndex" > gcpass1.outfile > > > Exception in thread "main" java.lang.NullPointerException > at > thredds.inventory.CollectionSpecParser.<init>(CollectionSpecParser.java:81) > at thredds.tdm.GCpass1.scanAndReport(GCpass1.java:218) > at thredds.tdm.GCpass1.main(GCpass1.java:75) > > Not sure if this is more with the argument parser > or a problem diving into the actual process. > > > On Tue, Nov 3, 2015 at 5:00 PM, Christian Ward-Garrison <cwardgar@xxxxxxxx > > wrote: > >> Hi Dan, >> >> Have you tried "-regexp" instead of "-regExp"? The CLI parser is really >> picky about case. >> >> Cheers, >> Christian >> >> On Tue, Nov 3, 2015 at 11:20 AM, Dan Swank - NOAA Affiliate < >> dan.swank@xxxxxxxx> wrote: >> >>> I am attempting to use latest >>> md5(c97a881c1a7960df2c366d04e9ea5f1b) tdm-4.6.jar >>> >>> According to : >>> >>> https://www.unidata.ucar.edu/software/thredds/current/tds/reference/collections/TDM.html >>> (gcpass section) The -regExp & -rootDir options should be supported, >>> but this particular >>> .jar seems to only know the older spec method, which I cannot use here. >>> >>> I attempt: >>> $ java -classpath /home/tomcat/dans-tdm-content/content/tdm/tdm-4.6.jar >>> thredds.tdm.GCpass1 -regExp "\d{6}/\d{8}/YTU..._KWBN_\d*$" -rootDir >>> '/global/dataset/model/ndfd/' -useCacheDir >>> '/raid/tomcat/tdm45/cache-dev/GribIndex' -isGrib2 >>> >>> I get: >>> Exception in thread "main" com.beust.jcommander.ParameterException: >>> Unknown option: -regExp >>> at >>> com.beust.jcommander.JCommander.parseValues(JCommander.java:738) >>> at com.beust.jcommander.JCommander.parse(JCommander.java:281) >>> at com.beust.jcommander.JCommander.parse(JCommander.java:264) >>> at com.beust.jcommander.JCommander.<init>(JCommander.java:209) >>> at thredds.tdm.GCpass1$CommandLine.<init>(GCpass1.java:73) >>> at thredds.tdm.GCpass1.main(GCpass1.java:87) >>> >>> >>> What could be going on? Are my arguments out of order or the >>> documentation not correct >>> for this (latest) version of TDM jar? >>> -- >>> Dan Swank >>> NOMADS System Support, STG Inc. - Federal Government Contractor >>> NOAA's National Centers for Environmental Information (NCEI) >>> Data Stewardship Devision (DSD) >>> 151 Patton Ave >>> Asheville, NC 28801 >>> dan.swank@xxxxxxxx >>> Phone: 828-271-4007 >>> Customer Support: 828-271-4800 or http://www.ncdc.noaa.gov/contact >>> >>> The newly formed NCEI merges the National Climatic Data Center (NCDC), >>> the National Geophysical Data Center (NGDC), and the National Oceanographic >>> Data Center (NODC). >>> >>> Facebook: http://www.facebook.com/NOAANationalClimaticDataCenter >>> Twitter: @NOAANCDC @NOAAOceanData >>> >>> ======================= Disclaimer =========== >>> I am not a Federal Employee. >>> Any opinions expressed in this message are mine personally and >>> do not represent official positions from STG Inc, ERT, NCEI, or NOAA >>> ============================================ >>> >>> _______________________________________________ >>> thredds mailing list >>> thredds@xxxxxxxxxxxxxxxx >>> For list information or to unsubscribe, visit: >>> http://www.unidata.ucar.edu/mailing_lists/ >>> >> >> > > > -- > > Dan Swank > NOMADS System Support, STG Inc. - Federal Government Contractor > NOAA's National Centers for Environmental Information (NCEI) > Data Stewardship Devision (DSD) > 151 Patton Ave > Asheville, NC 28801 > dan.swank@xxxxxxxx > Phone: 828-271-4007 > Customer Support: 828-271-4800 or http://www.ncdc.noaa.gov/contact > > The newly formed NCEI merges the National Climatic Data Center (NCDC), the > National Geophysical Data Center (NGDC), and the National Oceanographic > Data Center (NODC). > > Facebook: http://www.facebook.com/NOAANationalClimaticDataCenter Twitter: > @NOAANCDC @NOAAOceanData > > ======================= Disclaimer =========== > I am not a Federal Employee. > Any opinions expressed in this message are mine personally and > do not represent official positions from STG Inc, ERT, NCEI, or NOAA > ============================================ >
thredds
archives: