X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 16 Jul 2019 07:44 AM by  MariM
reading spatial data from NetCDF via EnviTask
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

Eriita Jones



New Member


Posts:
New Member


--
15 Jul 2019 11:47 PM
    Hi,

    I have a MODIS MCD43A4 NetCDF dataset that I am trying to read programmatically via IDL + ENVITasks.

    For some reason the ENVITask('ExtractRasterFromFile') will not run - it says no such ENVItask exists.

    I can open the desired raster from the NetCDF (e.g. the blue band) via OpenRaster and specifying DATASET_Name however it does not read the spatial information.

    How can I get ENVI to read the spatial information, so that I can then reproject the raster? Is there a way I can specify the co-ordinate system to ENVI?

    Many thanks,

    MariM



    Veteran Member


    Posts:2396
    Veteran Member


    --
    16 Jul 2019 07:44 AM
    ExtractRasterFromFile task was introduced in ENVI 5.5. Are you using this version?
    Once the raster is opened, you can assign the spatial reference using View Metadata->Edit Metadata.
    You are not authorized to post a reply.