Skip to content

net2cog should support HDF4 format #73

Description

@jackiryan

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 = []

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

  • Status
    Icebox
  • Status
    triaged

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions