[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDFJava #QQO-385265]: Unable to read grib data using OPENDAP

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.


  • Subject: [netCDFJava #QQO-385265]: Unable to read grib data using OPENDAP
  • Date: Wed, 24 Jun 2015 18:29:16 -0600

Hi Ann,

Actually, in my example, I'm only reading the first two time slices:

for (int timeIndex = 0; timeIndex < 2; ++timeIndex) {

I did that for testing and forgot to change it back. To read all of the time 
slices, do:

for (int timeIndex = 0; timeIndex < shape[0]; ++timeIndex) {

Whoops!
-Christian

Ticket Details
===================
Ticket ID: QQO-385265
Department: Support netCDF Java
Priority: Normal
Status: Closed