There are many legacy HDF4 format datasets on the Earthdata cloud, especially for MODIS. Here's an example: https://www.earthdata.nasa.gov/data/catalog/lpcloud-myd09gq-061
Currently, net2cog does not support this format and there is no alternative harmony service for reformatting these datasets. In the code, you can see that these files are skipped right now:
https://github.com/podaac/net2cog/blob/develop/net2cog/netcdf_convert.py#L453-L483
if netcdf_file.endswith(('.nc', '.nc4', 'h5')):
...
else:
logger.info("Not a NetCDF file; Skipped file: %s", netcdf_file)
output_files = []
There are many legacy HDF4 format datasets on the Earthdata cloud, especially for MODIS. Here's an example: https://www.earthdata.nasa.gov/data/catalog/lpcloud-myd09gq-061
Currently, net2cog does not support this format and there is no alternative harmony service for reformatting these datasets. In the code, you can see that these files are skipped right now:
https://github.com/podaac/net2cog/blob/develop/net2cog/netcdf_convert.py#L453-L483