Hello all,
The problem originated trying to read a .spe file from ARTEMIS (with LECWAC1). I got an error (that is described below) and wanted to see if the .spe file is created OK. I could not open it in BK, so the next step was to open the .spe file in the ARTEMIS example chwac1.
sebourban wrote:
there are probably double precisions ...
I thought about this but when ARTEMIS tried to load a .spe file from TOMAWAC I got this:
OPENING FILES FOR ARTEMIS
- FILE \1.Artemis\art_yfist_1_S3_year1_init.cas_2017-02-21-17h02min19s\ARTGEO00003-00000 OF TYPE BIG_ENDIAN
- FILE \1.Artemis\art_yfist_1_S3_year1_init.cas_2017-02-21-17h02min19s\ARTGEO00003-00000 IS SINGLE PRECISION
- FILE \1.Artemis\art_yfist_1_S3_year1_init.cas_2017-02-21-17h02min19s\ARTTC1 OF TYPE BIG_ENDIAN
- FILE \1.Artemis\art_yfist_1_S3_year1_init.cas_2017-02-21-17h02min19s\ARTTC1 IS SINGLE PRECISION
ARTTC1 IS SINGLE PRECISION
In the same case, I had tried hardcoding FFORMAT = 'SERAFIN ' or 'SERAFIND' in LECWAC1 but it didn't make a difference. The error was (I have added write statements before every CALL):
========== READING SPECTRUM FROM TOMAWAC ==========
CALLING GET_MESH_COORD
CALLING CHECK_CALL
CALLING GET_MESH_COORD
CALLING CHECK_CALL
CALLING GET_DATA_NVAR
CALLING CHECK_CALL
CALLING CHECK_ALLOCATE
CALLING CHECK_ALLOCATE
CALLING GET_DATA_VAR_LIST
CALLING CHECK_CALL
CALLING FIND_VARIABLE
ERROR -1 DURING CALL OF GET_DATA_TIME_SRF:READ
ERROR TEXT: UNKNOWN ERROR
PLANTE: PROGRAM STOPPED AFTER AN ERROR
RETURNING EXIT CODE: 2
I now tried FFORMAT = 'MED ' and I got
========== READING SPECTRUM FROM TOMAWAC ==========
CALLING GET_MESH_COORD
CALLING CHECK_CALL
ERROR 1006 DURING CALL OF GET_MESH_COORD:X:NBI1
ERROR TEXT: HERMES_MED_NOT_LOADED_ERR
I don't know if the above provides more insight. I will try your suggestions, but the critical problem is not visualization, but reading .spe from LECWAC1. The rest of my TOMAWAC results are as expected, so should be my .spe file.
Is the .spe file in chwac1 created with the corresponding trunk version of TOMAWAC?
Best regards,
Costas