|
|
|||
|
||||
NetcdfFile can open remote files served over HTTP, if the HTTP server allows range requests for a resource, indicated by the Accept-Ranges header.
Performance will be strongly affected by the file format and the data access pattern. This is because each request for data will incur one or more file access requests. Each file acccess request becomes an HTTP request, incurring the cost of one round-trip message to the server. Generally, the netcdf-3 format (not netcdf-4) is most likely to give good performance, especially when reading large amounts of non-record data per request. Use OPeNDAP for more consistent performance.
The THREDDS Data Server enables range requests by default. You may have to configure other HTTP servers. Following are our notes on how to do so.
<Directory "/opt/local_htdocs">
Options FollowSymLinks Indexes
AllowOverride None
Order allow,deny
Allow from all
Header set Accept-Ranges bytes
</Directory>
For more information see:
This document is maintained by John Caron and was last updated on Feb 8, 2008
| Contact Us Site Map Search Terms and Conditions Privacy Policy Participation Policy | ||||||
|
||||||