[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:25:05 -0600

Hi Ann,

> Since size is the problem, Is there a way to access part of the data using 
> netcdf?

Yes! You do this by choosing an appropriate origin and shape when you read data 
from the variable.

I've modified your example to read all of the data from the temperature 
variable, one time-slice at a time. Of course, you're not limited to the origin 
and shape that I've chosen; you just have to make sure your choices are valid 
for the overall shape of the variable and stay beneath the server's request 
limit.

Cheers,
Christian

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

Attachment: readdata.java
Description: application/force-download