Opened 2 years ago

Closed 2 years ago

#2557 closed defect (fixed)

wcst_import - set MIME type based on the ingredients file

Reported by: Bang Pham Huu Owned by: Bang Pham Huu
Priority: major Milestone: 10.0
Component: wcst_import Version: 9.8
Keywords: Cc: Dimitar Misev, Vlad Merticariu
Complexity: Medium

Description

For example, if one imports a test.grd file which is netCDF via netCDF slicer, then in the rangeSet of GML, wcst_import needs to put the proper MIME type for it, instead of leaving it empty and petascope uses gdal driver for this file:

<gml:rangeSet>
    <gml:rangeParameters>
        {"variables": ["z"]}
    </gml:rangeParameters>
    <gml:File>
        <gml:fileReference><![CDATA[
                file:///home/rasdaman/Downloads/test.nc
            ]]></gml:fileReference>

        <gml:mimeType>application/x-netcdf</gml:mimeType>

        <gml:fileStructure codeSpace="https://codespace.rasdaman.com/formatParameters/Overview"></gml:fileStructure>
    </gml:File>
</gml:rangeSet>

Change History (1)

comment:1 by Bang Pham Huu, 2 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.