JCSDA / crtm-tutorial

A collection of CRTM tutorial cases for the CRTM User/Developer Workshop.
5 stars 1 forks source link

Unable to run binary K.x #2

Open raj879423 opened 1 year ago

raj879423 commented 1 year ago

Hello All,

I have successfully compiled crtm-tutorial but when i am executing K.x I am getting error. Can anyone please help me how to run this K-Matrix_test binary code.

$ CRTM_tutorial/K-Matrix_test> $ ./K.x

Below are the error i am getting.

./K.x

 **********************************************************
                        KMatrix_test

  Program to provide a (relatively) simple example of how
  to call the CRTM K-Matrix function.

  CRTM Version: v2.4.0-alpha
 **********************************************************

 Running CRTM for amsua_metop-a sensor...

 Initializing the CRTM...

Check_Binary_File(FAILURE) : Unrecognised file format. Invalid magic number. Open_Binary_File(FAILURE) : Error checking coefficients/amsua_metop-a.SpcCoeff.bin file byte order SpcCoeff_ReadFile(Binary)(FAILURE) : Error opening coefficients/amsua_metop-a.SpcCoeff.bin CRTM_SpcCoeff_Load(FAILURE) : Error reading SpcCoeff file #1, coefficients/amsua_metop-a.SpcCoeff.bin CRTM_Init(FAILURE) : Error loading SpcCoeff data KMatrix_test(FAILURE) : Error initializing CRTM

I have check the coefficients file "coefficients/amsua_metop-a.SpcCoeff.bin" It shows noting only github link is there.

$ vim coefficients/amsua_metop-a.SpcCoeff.bin

version https://git-lfs.github.com/spec/v1 oid sha256:d98444d16dbf1d25a4232acc91c607b59cc22c30edc267bde2b50d9efff72a87 size 12196 ~

Please do let me know where i am doing the mistake wile executing this code K.x Thanks in advance.

StegmannJCSDA commented 1 year ago

@raj879423 Are you working on a big-endian or little-endian machine? You may substitute coefficients directly from the CRTM repository.