-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ENHANCEMENT] #15
Comments
What version of MATLAB are you using? Can you please confirm you successfully ran the startup scripts? |
A common culprit is not setting a web proxy if you're working on a managed network. |
That's good. The files are there, so we can assume the system environment variable was set correctly. Is |
yes it is added to the path |
|
is it a file format issue or the matlab file "georasterinfo" ? |
On Line 108, replace |
@AnkithThodupunoori Where you able to test this proposed change? Do you have access to the parallel toolbox. If no, replace 'parfor' may address the bug. Also replacing it should produce a different error message, which hopefully should be more insightful. |
If you change directory to |
Have you tried redownloading |
Yes, Just now downloaded manually and tried to execute the code, it shows same error. |
The output should look something like this (I slightly censored the >> inFile = [getenv('AEM_DIR_CORE') filesep 'data' filesep 'DEM-GLOBE' filesep 'e10g'];
>> info = georasterinfo(inFile)
Warning: Projection information missing from 'e10g'. Assuming the RasterReference property is a map raster reference object.
> In georasterinfo>constructRasterReference (line 163)
In georasterinfo (line 52)
info =
RasterInfo with properties:
Filename: ["\em-core\data\DEM-GLOBE\e10g" "\em-core\data\DEM-GLOBE\e10g.hdr"]
FileModifiedDate: [2004-05-07 13:31:30 2004-05-07 13:48:38]
FileSize: [129600000 340]
FileFormat: "Esri GridFloat"
RasterSize: [6000 10800]
NumBands: 1
NativeFormat: "int16"
MissingDataIndicator: -500
Categories: []
ColorType: "unknown"
Colormap: []
RasterReference: [1×1 map.rasterref.MapCellsReference]
CoordinateReferenceSystem: []
Metadata: []
>> |
Is both |
NO, I have only one file "e10g" in my directory. |
The bug looks to be with using Brainstorming here, can you confirm >> inFile = [getenv('AEM_DIR_CORE') filesep 'data' filesep 'DEM-GLOBE' filesep 'e10g'];
>> exist(inFile)
ans =
2
>> which inFile |
What about |
All those returns are what is expected |
So do you what exactly the problem here? is it the matlab version i am using? |
I don't think it is the MATLAB version because I tested a version older and newer than what you're using. MATLAB recognizes the file exists and I'm a bit stumped on the bug. For sanity, can you try loading the file using |
I'm still musing about what the bug could be here because its with a built-in MATLAB function. |
Instructions
Read the instructions and fill out your responses at the bottom.
Relation
Is your feature request related to a problem? Please describe. Please provide a clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Description
A clear and concise description of what you want to happen.
Alternatives
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
FILL ME OUT
Relation
.hdr files which are located in DEM_GLOBE folder are unable to be read by code. when ever i execute RUN_Airspace_1, it throws an error saying "e10g" file format unable to read. i have tried to with automatic generated file format by running setup script and with manual downloaded file. both doesnt work.
Description
the error thrown by matlab looks like shown bellow. can i know how to get rid of this issue and execute the code further.
Error using georasterinfo (line 70)
Unable to read 'e10g'. Format may not be supported, file may be corrupt, or a supporting file may have been
specified.
Error in msl2agl (line 189)
info = georasterinfo(inFile);
Error in readAirspace (line 108)
parfor i=1:1:numel(LAT_deg)
Error in RUN_Airspace_1 (line 30)
airspaceUS = readAirspace('inFile',inFile,...
Alternatives
Additional
The text was updated successfully, but these errors were encountered: