NetCDF files downloaded from NASA ocean color website could not be converted to geotiff using gdaltranslate command below:
gdal_translate -ot float32 -unscale -CO COMPRESS=deflate NETCDF:"A2006001170000.L2_LAC_OC.x.nc":chlor_a fulldisk.tif
The error message is the following:
Warning 1: NetCDF driver detected file type=5, but libnetcdf detected type=3 Warning 1: NETCDF:A2006001170000.L2_LAC_OC.x.nc:chlor_a is a netCDF file, but chlor_a is not a variable. ERROR 4: `NETCDF:A2006001170000.L2_LAC_OC.x.nc:chlor_a' does not exist in the file system, and is not recognized as a supported dataset name.
Is there any way of fixing the issue?