<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    Hi,<br>
    <br>
    I'm having troubles reading a SeaWifs L2 hdf file due to a bug in
    the hdf driver. The problem here is that not all Subdatasets are
    read. <br>
    Below is the list givem by gdalinfo, which lacks 2 subdatasets: the<br>
    cntl_pt_cols &amp; cntl_pt_rows<br>
    To prove I attach a little screencapture of "HDF Explorer". <br>
    <br>
    Now I have two questions. <br>
    <br>
    1- The hdf file in question is relatively small (1.2 Mb). Can I
    attach it to a ticket? <br>
    <br>
    2- If I build GDAL with netCDF4, can I force the reading of this
    file with the netCDF driver? And if yes, how?<br>
    <br>
    Thanks<br>
    <br>
    Joaquim<br>
    <br>
    <br>
    <img src="cid:part1.01090706.08040809@ualg.pt" alt=""><br>
    <br>
    Subdatasets:<br>
    &nbsp;
SUBDATASET_1_NAME=HDF4_SDS:SEAWIFS_L2:"S1998031140424.L2_MLAC_OC.x.hdf":11<br>
    &nbsp; SUBDATASET_1_DESC=[391x78] longitude (32-bit floating-point)<br>
    &nbsp;
SUBDATASET_2_NAME=HDF4_SDS:SEAWIFS_L2:"S1998031140424.L2_MLAC_OC.x.hdf":12<br>
    &nbsp; SUBDATASET_2_DESC=[391x78] latitude (32-bit floating-point)<br>
    &nbsp;
SUBDATASET_3_NAME=HDF4_SDS:SEAWIFS_L2:"S1998031140424.L2_MLAC_OC.x.hdf":13<br>
    &nbsp; SUBDATASET_3_DESC=[391x78] Rrs_412 (16-bit integer)<br>
    &nbsp;
SUBDATASET_4_NAME=HDF4_SDS:SEAWIFS_L2:"S1998031140424.L2_MLAC_OC.x.hdf":14<br>
    &nbsp; SUBDATASET_4_DESC=[391x78] Rrs_443 (16-bit integer)<br>
    &nbsp;
SUBDATASET_5_NAME=HDF4_SDS:SEAWIFS_L2:"S1998031140424.L2_MLAC_OC.x.hdf":15<br>
    &nbsp; SUBDATASET_5_DESC=[391x78] Rrs_490 (16-bit integer)<br>
    &nbsp;
SUBDATASET_6_NAME=HDF4_SDS:SEAWIFS_L2:"S1998031140424.L2_MLAC_OC.x.hdf":16<br>
    &nbsp; SUBDATASET_6_DESC=[391x78] Rrs_510 (16-bit integer)<br>
    &nbsp;
SUBDATASET_7_NAME=HDF4_SDS:SEAWIFS_L2:"S1998031140424.L2_MLAC_OC.x.hdf":17<br>
    &nbsp; SUBDATASET_7_DESC=[391x78] Rrs_555 (16-bit integer)<br>
    &nbsp;
SUBDATASET_8_NAME=HDF4_SDS:SEAWIFS_L2:"S1998031140424.L2_MLAC_OC.x.hdf":18<br>
    &nbsp; SUBDATASET_8_DESC=[391x78] Rrs_670 (16-bit integer)<br>
    &nbsp;
SUBDATASET_9_NAME=HDF4_SDS:SEAWIFS_L2:"S1998031140424.L2_MLAC_OC.x.hdf":19<br>
    &nbsp; SUBDATASET_9_DESC=[391x78] chlor_a (32-bit floating-point)<br>
    &nbsp;
SUBDATASET_10_NAME=HDF4_SDS:SEAWIFS_L2:"S1998031140424.L2_MLAC_OC.x.hdf":20<br>
    &nbsp; SUBDATASET_10_DESC=[391x78] Kd_490 (16-bit integer)<br>
    &nbsp;
SUBDATASET_11_NAME=HDF4_SDS:SEAWIFS_L2:"S1998031140424.L2_MLAC_OC.x.hdf":21<br>
    &nbsp; SUBDATASET_11_DESC=[391x78] pic (16-bit integer)<br>
    &nbsp;
SUBDATASET_12_NAME=HDF4_SDS:SEAWIFS_L2:"S1998031140424.L2_MLAC_OC.x.hdf":22<br>
    &nbsp; SUBDATASET_12_DESC=[391x78] poc (16-bit integer)<br>
    &nbsp;
SUBDATASET_13_NAME=HDF4_SDS:SEAWIFS_L2:"S1998031140424.L2_MLAC_OC.x.hdf":23<br>
    &nbsp; SUBDATASET_13_DESC=[391x78] cdom_index (16-bit integer)<br>
    &nbsp;
SUBDATASET_14_NAME=HDF4_SDS:SEAWIFS_L2:"S1998031140424.L2_MLAC_OC.x.hdf":24<br>
    &nbsp; SUBDATASET_14_DESC=[391x78] par (16-bit integer)<br>
    &nbsp;
SUBDATASET_15_NAME=HDF4_SDS:SEAWIFS_L2:"S1998031140424.L2_MLAC_OC.x.hdf":25<br>
    &nbsp; SUBDATASET_15_DESC=[391x78] l2_flags (32-bit integer)<br>
    &nbsp;
SUBDATASET_16_NAME=HDF4_SDS:SEAWIFS_L2:"S1998031140424.L2_MLAC_OC.x.hdf":34<br>
    &nbsp; SUBDATASET_16_DESC=[391x3] orb_vec (32-bit floating-point)<br>
    &nbsp;
SUBDATASET_17_NAME=HDF4_SDS:SEAWIFS_L2:"S1998031140424.L2_MLAC_OC.x.hdf":35<br>
    &nbsp; SUBDATASET_17_DESC=[391x3] sun_ref (32-bit floating-point)<br>
    &nbsp;
SUBDATASET_18_NAME=HDF4_SDS:SEAWIFS_L2:"S1998031140424.L2_MLAC_OC.x.hdf":36<br>
    &nbsp; SUBDATASET_18_DESC=[391x3] att_ang (32-bit floating-point)<br>
    &nbsp;
SUBDATASET_19_NAME=HDF4_SDS:SEAWIFS_L2:"S1998031140424.L2_MLAC_OC.x.hdf":37<br>
    &nbsp; SUBDATASET_19_DESC=[391x3x3] sen_mat (32-bit floating-point)<br>
    &nbsp;
SUBDATASET_20_NAME=HDF4_SDS:SEAWIFS_L2:"S1998031140424.L2_MLAC_OC.x.hdf":38<br>
    &nbsp; SUBDATASET_20_DESC=[391x6] scan_ell (32-bit floating-point)<br>
    &nbsp;
SUBDATASET_21_NAME=HDF4_SDS:SEAWIFS_L2:"S1998031140424.L2_MLAC_OC.x.hdf":39<br>
    &nbsp; SUBDATASET_21_DESC=[391x8] nflag (32-bit integer)<br>
    &nbsp;
SUBDATASET_22_NAME=HDF4_SDS:SEAWIFS_L2:"S1998031140424.L2_MLAC_OC.x.hdf":42<br>
    &nbsp; SUBDATASET_22_DESC=[20x2] tilt_ranges (16-bit integer)<br>
    Corner Coordinates:<br>
  </body>
</html>