stcorp / coda

The Common Data Access toolset
http://stcorp.github.io/coda/doc/html/index.html
BSD 3-Clause "New" or "Revised" License
39 stars 17 forks source link

about CODA Error from coda_open() #102

Closed StarsTravel closed 5 months ago

StarsTravel commented 5 months ago

I'm opening a .N1 file of GOMOS with coda_open: filename='I:\GOM_EXT_2P_20060501_21786\GOM_EXT_2PRFIN20060501_012926_000000392047_00189_21786_9419.N1'; pf2 = coda_open(filename); product_type = coda_product_type(pf2);

but I'm getting the following problem: 错误使用 coda_matlab CODA Error

出错 coda_open (第 17 行) [varargout{1:max(1,nargout)}] = coda_matlab('OPEN',varargin{:});

出错 main (第 55 行) pf2 = coda_open(filename);

image

In fact, yesterday I was able to use functions such as coda_open normally. What went wrong? GOM_EXT_2PRFIN20060501_012926_000000392047_00189_21786_9419.zip

svniemeijer commented 5 months ago

The product seems ok. I think the problem is that coda couldn't find the codadef file for GOMOS anymore. Make sure to locally store a copy of the codadef file and put it in the share/coda/definition folder of your coda installation as described in the CODA MATLAB documentation. You can also put it in a different location and create a CODA_DEFINITION global environment variable to point to the directory where your stored the codadef file.

StarsTravel commented 5 months ago

Thank you !!!!

At 2024-07-01 00:12:03, "Sander Niemeijer" @.***> wrote:

The product seems ok. I think the problem is that coda couldn't find the codadef file for GOMOS anymore. Make sure to locally store a copy of the codadef file and put it in the share/coda/definition folder of your coda installation as described in the CODA MATLAB documentation. You can also put it in a different location and create a CODA_DEFINITION global environment variable to point to the directory where your stored the codadef file.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>