This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
No problem! Glad I could help! Cheers, Sean > Hey, Sean, that did the trick! Thanks for your help. > > Chris > > address@hidden> wrote: > > > Ok, let's try one more thing... > > > > <service name="http" serviceType="HTTPServer" base="/thredds/fileServer/" > > /> > > > > Note the addition of the `base` string (changed from "" to > > "/thredds/fileServer/">. If that doesn't work, please send me your latest > > catalog.xml file. > > > > Thanks! > > > > Sean > > > > > Nothing - same thing. > > > > > > address@hidden> wrote: > > > > > > > Hi Chris, > > > > > > > > What happens if you comment out the dataformat tags? > > > > > > > > Sean > > > > > > > > > Sean, > > > > > OK, I'm back to the 400 error, e.g.: > > > > > > > > > > > > > > > > http://vortex.atms.unca.edu:8080/thredds/catalog/tcc/netcdf/year.2009.cluster.nc.gz > > > > > > > > > > Same catalog.xml file but with the extra </service> tag removed. > > > > > > > > > > Chris > > > > > > > > > > address@hidden> wrote: > > > > > > > > > > > Hi Chris, > > > > > > > > > > > > It looks like you were closing an extra service tag. The last tag > > in > > > > > > service block, > > > > > > > > > > > > </service> > > > > > > > > > > > > is unnecessary, since the first line in that block > > > > > > > > > > > > <service name="http" serviceType="HTTPServer" base=""/> > > > > > > > > > > > > closes itself. Try removing the </service> tag and see what > > happens. > > > > We'll > > > > > > get this figured out! > > > > > > > > > > > > Cheers! > > > > > > > > > > > > Sean > > > > > > > > > > > > > I think I've regressed. Back to the 404 messages. Attached are > > the > > > > > > > catalog.xml and .log files. > > > > > > > Chris > > > > > > > > > > > > > > address@hidden> wrote: > > > > > > > > > > > > > > > Hi Chris, > > > > > > > > > > > > > > > > It looks like the serviceName "all" is set to serve out > > catalogs: > > > > > > > > > > > > > > > > <service name="all" serviceType="Catalog" base=""/> > > > > > > > > > > > > > > > > Change that line in your catalog.xml to > > > > > > > > > > > > > > > > <service name="all" serviceType="HTTPServer" base=""/> > > > > > > > > > > > > > > > > If that works, you should change the name="all" to > > name="http", and > > > > > > then > > > > > > > > all of the references to all to html in your catalog.xml, just > > to > > > > keep > > > > > > > > things clear. > > > > > > > > > > > > > > > > Cheers, > > > > > > > > > > > > > > > > Sean > > > > > > > > > > > > > > > > > Sean, > > > > > > > > > OK, I am getting closer. There was a syntax error in the > > > > catalog.xml > > > > > > > > file. > > > > > > > > > I fixed that, changed everything to "all", and I get a clean > > > > launch > > > > > > and > > > > > > > > > the pages look fine. The only thing I'm still not getting is > > > > how the > > > > > > > > user > > > > > > > > > goes ahead an downloads the data. For example, if you follow > > > > this > > > > > > link: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > http://vortex.atms.unca.edu:8080/thredds/catalog/tcc/netcdf/catalog.html?dataset=tcc/netcdf/year.2009.cluster.nc.gz > > > > > > > > > > > > > > > > > > and then click on the gz file hyperlink, you get returned a > > HTTP > > > > > > Status > > > > > > > > 400 > > > > > > > > > message. It wants the file to end in ".html"? > > > > > > > > > > > > > > > > > > Thanks again for your assistance. > > > > > > > > > Chris > > > > > > > > > > > > > > > > > > address@hidden> wrote: > > > > > > > > > > > > > > > > > > > Greetings Chris, > > > > > > > > > > > > > > > > > > > > What happens if you change the two lines in catalog.xml > > which > > > > say > > > > > > > > > > > > > > > > > > > > <serviceName>http</serviceName> > > > > > > > > > > > > > > > > > > > > to > > > > > > > > > > > > > > > > > > > > <serviceName>all</serviceName> > > > > > > > > > > > > > > > > > > > > Also, would you mind sending your > > > > > > > > > > ${tomcat.home}/content/thredds/logs/catalogInit.log? > > > > > > > > > > > > > > > > > > > > Thanks! > > > > > > > > > > > > > > > > > > > > Sean > > > > > > > > > > > > > > > > > > > > > Here it is. > > > > > > > > > > > > > > > > > > > > > > address@hidden> wrote: > > > > > > > > > > > > > > > > > > > > > > > Greetings Chris! > > > > > > > > > > > > > > > > > > > > > > > > > Sean, > > > > > > > > > > > > > > > > > > > > > > > > > > Does this mean that I need to have an HTTP server > > > > installed > > > > > > on my > > > > > > > > > > > > machine, > > > > > > > > > > > > > in addition to THREDDS? When I change the > > serviceType to > > > > > > > > > > "HTTPServer" > > > > > > > > > > > > and > > > > > > > > > > > > > restart, I get a 404 message. > > > > > > > > > > > > > > > > > > > > > > > > You do not need an HTTP server in addition to THREDDS. > > > > Would > > > > > > you > > > > > > > > mind > > > > > > > > > > > > sending me your catalog.xml from > > > > <TOMCAT_DIR>/content/thredds/ > > > > > > ? > > > > > > > > > > > > > > > > > > > > > > > > Thanks! > > > > > > > > > > > > > > > > > > > > > > > > Sean > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Chris > > > > > > > > > > > > > > > > > > > > > > > > > > On Thu, Sep 15, 2011 at 2:16 PM, Unidata THREDDS > > Support > > > > > > > > > > > > > address@hidden> wrote: > > > > > > > > > > > > > > > > > > > > > > > > > > > Greetings Chris! > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Hi, > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > I have a THREDDS server running at > > > > > > > > > > > > > > > > > > > http://vortex.atms.unca.edu:8080/thredds/catalog.htmlbut > > > > > > > > > > because > > > > > > > > > > > > of my > > > > > > > > > > > > > > > newbieness and ignorance I cannot figure out how > > to > > > > > > > > configure it > > > > > > > > > > so > > > > > > > > > > > > I can > > > > > > > > > > > > > > > actually download data files through the browser. > > > > For > > > > > > > > example, > > > > > > > > > > when > > > > > > > > > > > > I go > > > > > > > > > > > > > > > into "Tropical Cloud Clusters", then "csv", and > > then > > > > try > > > > > > to > > > > > > > > > > download > > > > > > > > > > > > a > > > > > > > > > > > > > > file, > > > > > > > > > > > > > > > I get an error returned (code = 500; "Can't read > > > > ...not a > > > > > > > > valid > > > > > > > > > > CDM > > > > > > > > > > > > > > file". > > > > > > > > > > > > > > > What does this mean? Is there a problem with the > > > > way my > > > > > > > > > > catalog.xml > > > > > > > > > > > > file > > > > > > > > > > > > > > > is configured? > > > > > > > > > > > > > > > > > > > > > > > > > > > > There isn't a problem. With THREDDS, opendap will > > > > serve any > > > > > > > > file > > > > > > > > > > type > > > > > > > > > > > > that > > > > > > > > > > > > > > files that can be read by the NetCDF Java library > > and > > > > > > accessed > > > > > > > > > > > > through the > > > > > > > > > > > > > > CDM data model. In this case, the NetCDF Java > > library > > > > > > cannot > > > > > > > > read > > > > > > > > > > csv > > > > > > > > > > > > files > > > > > > > > > > > > > > (for a list of files that can be read, and thus > > served > > > > > > through > > > > > > > > TDS, > > > > > > > > > > > > check > > > > > > > > > > > > > > out > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > http://www.unidata.ucar.edu/software/netcdf-java/formats/FileTypes.html). > > > > > > > > > > > > > > I would recommend sticking to serving your data > > with > > > > the > > > > > > http > > > > > > > > > > protocol. > > > > > > > > > > > > > > > > > > > > > > > > > > > > Thanks! > > > > > > > > > > > > > > > > > > > > > > > > > > > > Sean > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Initially I had the service type set to "http", > > but > > > > have > > > > > > > > since > > > > > > > > > > tried > > > > > > > > > > > > > > "odap". > > > > > > > > > > > > > > > I've attached my catalog file. I really > > appreciate > > > > any > > > > > > > > > > assistance > > > > > > > > > > > > you > > > > > > > > > > > > > > can > > > > > > > > > > > > > > > provide. Thanks. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Chris > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Dr. Christopher C. Hennon > > > > > > > > > > > > > > > Associate Professor > > > > > > > > > > > > > > > Department of Atmospheric Sciences > > > > > > > > > > > > > > > UNC Asheville > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > 1 University Heights > > > > > > > > > > > > > > > CPO #2450 > > > > > > > > > > > > > > > Asheville, NC 28804 > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > 1.828.232.5159 (phone) > > > > > > > > > > > > > > > 1.828.232.5046 (fax) > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > http://facstaff.unca.edu/chennon > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Ticket Details > > > > > > > > > > > > > > =================== > > > > > > > > > > > > > > Ticket ID: SYP-673547 > > > > > > > > > > > > > > Department: Support THREDDS > > > > > > > > > > > > > > Priority: Normal > > > > > > > > > > > > > > Status: Closed > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > > > > > > > > > > > > > > > > > > > Dr. Christopher C. Hennon > > > > > > > > > > > > > Associate Professor > > > > > > > > > > > > > Department of Atmospheric Sciences > > > > > > > > > > > > > UNC Asheville > > > > > > > > > > > > > > > > > > > > > > > > > > 1 University Heights > > > > > > > > > > > > > CPO #2450 > > > > > > > > > > > > > Asheville, NC 28804 > > > > > > > > > > > > > > > > > > > > > > > > > > 1.828.232.5159 (phone) > > > > > > > > > > > > > 1.828.232.5046 (fax) > > > > > > > > > > > > > > > > > > > > > > > > > > http://facstaff.unca.edu/chennon > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Ticket Details > > > > > > > > > > > > =================== > > > > > > > > > > > > Ticket ID: SYP-673547 > > > > > > > > > > > > Department: Support THREDDS > > > > > > > > > > > > Priority: Normal > > > > > > > > > > > > Status: Open > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > > > > > > > > > > > > > > > Dr. Christopher C. Hennon > > > > > > > > > > > Associate Professor > > > > > > > > > > > Department of Atmospheric Sciences > > > > > > > > > > > UNC Asheville > > > > > > > > > > > > > > > > > > > > > > 1 University Heights > > > > > > > > > > > CPO #2450 > > > > > > > > > > > Asheville, NC 28804 > > > > > > > > > > > > > > > > > > > > > > 1.828.232.5159 (phone) > > > > > > > > > > > 1.828.232.5046 (fax) > > > > > > > > > > > > > > > > > > > > > > http://facstaff.unca.edu/chennon > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Ticket Details > > > > > > > > > > =================== > > > > > > > > > > Ticket ID: SYP-673547 > > > > > > > > > > Department: Support THREDDS > > > > > > > > > > Priority: Normal > > > > > > > > > > Status: Open > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > > > > > > > > > > > Dr. Christopher C. Hennon > > > > > > > > > Associate Professor > > > > > > > > > Department of Atmospheric Sciences > > > > > > > > > UNC Asheville > > > > > > > > > > > > > > > > > > 1 University Heights > > > > > > > > > CPO #2450 > > > > > > > > > Asheville, NC 28804 > > > > > > > > > > > > > > > > > > 1.828.232.5159 (phone) > > > > > > > > > 1.828.232.5046 (fax) > > > > > > > > > > > > > > > > > > http://facstaff.unca.edu/chennon > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Ticket Details > > > > > > > > =================== > > > > > > > > Ticket ID: SYP-673547 > > > > > > > > Department: Support THREDDS > > > > > > > > Priority: Normal > > > > > > > > Status: Open > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > > > > > > > Dr. Christopher C. Hennon > > > > > > > Associate Professor > > > > > > > Department of Atmospheric Sciences > > > > > > > UNC Asheville > > > > > > > > > > > > > > 1 University Heights > > > > > > > CPO #2450 > > > > > > > Asheville, NC 28804 > > > > > > > > > > > > > > 1.828.232.5159 (phone) > > > > > > > 1.828.232.5046 (fax) > > > > > > > > > > > > > > http://facstaff.unca.edu/chennon > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Ticket Details > > > > > > =================== > > > > > > Ticket ID: SYP-673547 > > > > > > Department: Support THREDDS > > > > > > Priority: Normal > > > > > > Status: Open > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > > > Dr. Christopher C. Hennon > > > > > Associate Professor > > > > > Department of Atmospheric Sciences > > > > > UNC Asheville > > > > > > > > > > 1 University Heights > > > > > CPO #2450 > > > > > Asheville, NC 28804 > > > > > > > > > > 1.828.232.5159 (phone) > > > > > 1.828.232.5046 (fax) > > > > > > > > > > http://facstaff.unca.edu/chennon > > > > > > > > > > > > > > > > > > > > > > Ticket Details > > > > =================== > > > > Ticket ID: SYP-673547 > > > > Department: Support THREDDS > > > > Priority: Normal > > > > Status: Open > > > > > > > > > > > > > > > > > -- > > > > > > Dr. Christopher C. Hennon > > > Associate Professor > > > Department of Atmospheric Sciences > > > UNC Asheville > > > > > > 1 University Heights > > > CPO #2450 > > > Asheville, NC 28804 > > > > > > 1.828.232.5159 (phone) > > > 1.828.232.5046 (fax) > > > > > > http://facstaff.unca.edu/chennon > > > > > > > > > > > > Ticket Details > > =================== > > Ticket ID: SYP-673547 > > Department: Support THREDDS > > Priority: Normal > > Status: Open > > > > > > > -- > > Dr. Christopher C. Hennon > Associate Professor > Department of Atmospheric Sciences > UNC Asheville > > 1 University Heights > CPO #2450 > Asheville, NC 28804 > > 1.828.232.5159 (phone) > 1.828.232.5046 (fax) > > http://facstaff.unca.edu/chennon > > Ticket Details =================== Ticket ID: SYP-673547 Department: Support THREDDS Priority: Normal Status: Open