HomeHomeProductsProductsENVIENVIENVIENVIError opening Sentinel 2Error opening Sentinel 2
Previous
 
Next
New Post
3/17/2017 5:11 AM
 

Hi all,

i am trying to import Sentinel 2 dataset.

I downloaded the file S2A_MSIL1C_20170313T093031_N0204_R136_T33SXR_20170313T093510.zip.

How can i open this file into ENVI 5.4?

Thank you for any succestion.

 
New Post
3/17/2017 7:41 AM
 

You first need to unzip the file using something like 7-zip or your native archive program on your system.  Then go into the first directory and open the top level .XML file.

 
New Post
3/17/2017 8:10 AM
 

I already tried this solution.

I tryed to open the file MTD_MSIL1C.xml and ENVI returns with the following error:

File does not appear to be a valid Sentinel-2 file: mydirectoy\MTD_MSIL1C.xml

I tryed also to open the INSPIRE.xml file, and any other file .xml but i have obteined the same error message.

 
New Post
3/17/2017 8:59 AM
 

What version of ENVI are you running?  It looks like you have one of the new format files that have short file names.  There is a patch available for ENVI 5.4 that will resolve this issue.

 
New Post
3/17/2017 9:05 AM
 

I definitly need to install this patch (for ENVI 5.4).

Where can i find and download the patch?

 
New Post
3/17/2017 9:17 AM
 

You can contact supporteu@harris.com to request the patch for 5.4.  You can reference ENVI-71042

 
New Post
3/17/2017 9:37 AM
 

Thank you.

I have a problem with the idlpy bridge. I posted it on IDL forum but it seems less followed by users. Can i try to post my question here?

 
New Post
3/20/2017 1:00 PM
 

You can try posting it here. I can tell you that the people who follow posts on this forum are generally less knowledgeable about IDL. But we might be able to track down some explanation for whatever behavior you are seeing.

Peg

 
New Post
3/22/2017 3:53 AM
 

Ok, the problem is the following:

i have a python script that calls and executes some python functions making idl processes following the IDL.run('instruction') syntax.

More in detail, i have a set of function making "radiometric correction", "pansharpening" "layer stacking", and so on.

I make the import of idlpy module at the begin of my file. The problem is that license remains busy throughout the execution duration.

I try also to make the import of idlpy only from inside each method.

There is a way to import the idlpy module at the start of a particular function (eg. for radiometric correction), then end the license utilisation and import again the idlpy module at the next function (eg. pansharpening)?

my code is something like:

from idlpy import *
def idl_RadCorrection(inpu1, input2):

IDL.input1=input1

IDL.input2 = input2

IDL.run('first instruction')

IDL.run('second instruction')

def idl_GramSchimdtPanSharpening(input1, input2):

IDL.input1 = input1

IDL.input2 = input2

IDL.run('first instruction')

IDL.run('second Instruction')

and the main:

def idl_RadCorrection(inpu1, input2)

def idl_GramSchimdtPanSharpening(input1, input2)

My need is to start idl license for the first function (Rad Corr), run it, close idl, do something, start idl again, run second function (Pan Sharpening), close IDL, and so on....

Any suggestion?

 
Previous
 
Next
HomeHomeProductsProductsENVIENVIENVIENVIError opening Sentinel 2Error opening Sentinel 2




© 2017 Exelis Visual Information Solutions, Inc., a subsidiary of Harris Corporation