AAPPv8.7 – MHS flag set to 0 everywhere?

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #46985
    Adam DybbroeAdam Dybbroe
    Participant

    Hi,
    We have noticed that the NWCSAF/PPS v2018 fail to generate the MW Scattering index used for the Precipitating Clouds product, when using AAPPv8.7 output, where as it works fine with AAPPv8.3 output.
    It concerns all satellites, Metop-B, Metop-C, NOAA-18 and NOAA-19. The flag concerned is supposed to contain information on LAND/OCEAN/FAIL/etc. In 8.7 it is set to zero everywhere as far as we can see.

    PS: By the way, just tried to reach the format description being logged in to your website and it says I am not permitted to reach this doc:
    https://nwp-saf.eumetsat.int/site/download/NWPSAF-MF-UD-003_Formats_v8.1.pdf

    Is that as it is supposed to be?

    -Adam

    #46989
    Stephen BedfordStephen Bedford
    Keymaster

    Hi Adam,
    I don’t work on the software so can’t answer your question on AAPP (I am a site admin). I have changed the access for that file though, you should be able to view it now. Thank you for pointing out the error.

    Regards,
    Duncan

    #46990
    Adam DybbroeAdam Dybbroe
    Participant

    Thanks, I see the format documentation online now
    -Adam

    #46991
    Nigel AtkinsonNigel Atkinson
    Moderator

    Adam,

    I’m not aware of any change in 8.3 and 8.7 that would affect the MW scattering indexes, but will take a look. There are several indexes … could you say which one you are referring to?

    Nigel

    #46992
    Adam DybbroeAdam Dybbroe
    Participant

    I was not really precise in my initial report above. We convolve a land-sea mask on the MHS footprints and for that we use the geo-location and the sun-sat viewing angles. And it appears that the latter are wrong from v8.7.

    I have some plots showing that, but can’t find a way to attach them here?

    #46993
    Adam DybbroeAdam Dybbroe
    Participant

    Nigel,

    Well, it is the scattering index developed by Ralf Bennartz for the NWCSAF/PPS Precipitating Clouds algorithm! Not any AAPP related one! But, when calculating this, the viewing angles are used and they are wrong with 8.7 and okay with 8.3!

    At least from what analysis says so far.

    We noticed it recently when preparing for an upgrade of AAPP in production. Currently we run PPSv2018 in production using input from AAPPv8.3, and everything runs fine. But changing to 8.7 the Precip product doesn’t get produced, as the MW scattering index calculation (a pre-processing step) fails.

    -Adam

    #49537
    bouya diopbouya diop
    Participant

    Dear AAPP users,
    I had a problem compiling Item 9.
    Who can help me.
    I am sending you the error message below.
    In file included from CMN_PRS_Parser.cc:74:
    CMN_PRS_Parser.h:84:22: error: ISO C++17 does not allow dynamic exception specifications
    84 | CMN_PRS_Parser() throw (ERR__Exception);
    | ^~~~~
    CMN_PRS_Parser.h:107:46: error: ISO C++17 does not allow dynamic exception specifications
    107 | void ParseFile (CMN__Chaine xmlFile) throw (ERR__Exception);
    | ^~~~~
    CMN_PRS_Parser.h:109:48: error: ISO C++17 does not allow dynamic exception specifications
    109 | void ParseOBTUTC (SD_DON_OBTUTC& OBTUTC) throw (ERR__Exception);
    | ^~~~~
    CMN_PRS_Parser.h:112:62: error: ISO C++17 does not allow dynamic exception specifications
    112 | t_Chaine& flag, bool &flagManoeuvre) throw (ERR__Exception);
    | ^~~~~

    In file included from CMN_PRS_Parser.cc:75:
    ../../../SD/DON/src/SD_DON_OBTUTC.h:108:19: error: ISO C++17 does not allow dynamic exception specifications
    108 | ) throw (ERR__Exception);
    | ^~~~~
    ../../../SD/DON/src/SD_DON_OBTUTC.h:113:19: error: ISO C++17 does not allow dynamic exception specifications
    113 | ) throw (ERR__Exception);
    | ^~~~~
    In file included from CMN_PRS_Parser.cc:76:
    ../../../SD/DON/src/SD_DON_OSV.h:74:19: error: ISO C++17 does not allow dynamic exception specifications
    74 | ) throw (ERR__Exception);
    | ^~~~~
    CMN_PRS_Parser.cc:626:34: error: ISO C++17 does not allow dynamic exception specifications
    626 | CMN_PRS_Parser::CMN_PRS_Parser() throw (ERR__Exception)
    | ^~~~~
    CMN_PRS_Parser.cc:777:53: error: ISO C++17 does not allow dynamic exception specifications
    777 | void CMN_PRS_Parser::ParseFile(CMN__Chaine xmlFile) throw (ERR__Exception)
    | ^~~~~
    CMN_PRS_Parser.cc:1082:3: error: ISO C++17 does not allow dynamic exception specifications
    1082 | throw (ERR__Exception)
    | ^~~~~
    CMN_PRS_Parser.cc:1192:17: error: ISO C++17 does not allow dynamic exception specifications
    1192 | throw (ERR__Exception)
    | ^~~~~
    make[2]: *** [../../../Makefile.inc:92 : CMN_PRS_Parser.o] Erreur 1
    make[2] : on quitte le répertoire « /home/diop/Documents/build/OPS_V8.4-AAPP-l-20211216/src/CMN/PRS/src »
    make[1]: *** [Makefile:30 : lib] Erreur 2
    make[1] : on quitte le répertoire « /home/diop/Documents/build/OPS_V8.4-AAPP-l-20211216/src »
    make: *** [Makefile:2 : all] Erreur 2
    OPS-LRS make failed

    #49546
    bouya diopbouya diop
    Participant

    Good morning,
    When installing AAPPV8, I have errors in item 9
    see below who can help me.
    In file included from CMN_PRS_Parser.cc:74:
    CMN_PRS_Parser.h:84:22: error: ISO C++17 does not allow dynamic exception specifications
    84 | CMN_PRS_Parser() throw (ERR__Exception);
    | ^~~~~
    CMN_PRS_Parser.h:107:46: error: ISO C++17 does not allow dynamic exception specifications
    107 | void ParseFile (CMN__Chaine xmlFile) throw (ERR__Exception);
    | ^~~~~
    CMN_PRS_Parser.h:109:48: error: ISO C++17 does not allow dynamic exception specifications
    109 | void ParseOBTUTC (SD_DON_OBTUTC& OBTUTC) throw (ERR__Exception);
    | ^~~~~
    CMN_PRS_Parser.h:112:62: error: ISO C++17 does not allow dynamic exception specifications
    112 | t_Chaine& flag, bool &flagManoeuvre) throw (ERR__Exception);
    | ^~~~~

    In file included from CMN_PRS_Parser.cc:75:
    ../../../SD/DON/src/SD_DON_OBTUTC.h:108:19: error: ISO C++17 does not allow dynamic exception specifications
    108 | ) throw (ERR__Exception);
    | ^~~~~
    ../../../SD/DON/src/SD_DON_OBTUTC.h:113:19: error: ISO C++17 does not allow dynamic exception specifications
    113 | ) throw (ERR__Exception);
    | ^~~~~
    In file included from CMN_PRS_Parser.cc:76:
    ../../../SD/DON/src/SD_DON_OSV.h:74:19: error: ISO C++17 does not allow dynamic exception specifications
    74 | ) throw (ERR__Exception);
    | ^~~~~
    CMN_PRS_Parser.cc:626:34: error: ISO C++17 does not allow dynamic exception specifications
    626 | CMN_PRS_Parser::CMN_PRS_Parser() throw (ERR__Exception)
    | ^~~~~
    CMN_PRS_Parser.cc:777:53: error: ISO C++17 does not allow dynamic exception specifications
    777 | void CMN_PRS_Parser::ParseFile(CMN__Chaine xmlFile) throw (ERR__Exception)
    | ^~~~~
    CMN_PRS_Parser.cc:1082:3: error: ISO C++17 does not allow dynamic exception specifications
    1082 | throw (ERR__Exception)
    | ^~~~~
    CMN_PRS_Parser.cc:1192:17: error: ISO C++17 does not allow dynamic exception specifications
    1192 | throw (ERR__Exception)
    | ^~~~~
    make[2]: *** [../../../Makefile.inc:92 : CMN_PRS_Parser.o] Erreur 1
    make[2] : on quitte le répertoire « /home/diop/Documents/build/OPS_V8.4-AAPP-l-20211216/src/CMN/PRS/src »
    make[1]: *** [Makefile:30 : lib] Erreur 2
    make[1] : on quitte le répertoire « /home/diop/Documents/build/OPS_V8.4-AAPP-l-20211216/src »
    make: *** [Makefile:2 : all] Erreur 2
    OPS-LRS make failed

    #49548
    Nigel AtkinsonNigel Atkinson
    Moderator

    Dear Bouya Diop,

    Firstly, when you post to the forum, please could you create a new topic rather than adding your question to a very old one? Otherwise it gets very confusing as the title of the topic is unrelated to the question.

    Please could you say what version c++ compiler you are using (e.g. “c++ –version”)? It appears that c++17 does not allow some of the constructs that are used in OPS-LRS. Maybe you will need an older compiler. I will ask the team at Meteo-France for advice.

    Nigel

    #49561
    Nigel AtkinsonNigel Atkinson
    Moderator

    For OPS-LRS, it appears that you need to use gcc v4, 5 or 6. Version 7 is not compatible with the current OPS-LRS because support for dynamic exception specifications has been removed.

    See https://gcc.gnu.org/projects/cxx-status.html

    In the longer term, we will look into whether it is possible to update OPS-LRS for compatibility with the newer compilers.

    #49562
    Nigel AtkinsonNigel Atkinson
    Moderator

    Sorry, ignore the previous comment about version 7, I misread the web page. c++17 did not become the default until gcc version 11. And even with later versions it should be possible to add a compiler flag “-std=c++11”. In your Makefile.ARCH (in build/OPS_V8.4-AAPP-l-20211216), find the line that defines ARCH_CPPFLAGS_NORMAL and change it to

    ARCH_CPPFLAGS_NORMAL=-g -O3 -std=c++11

    Then re-run “make”.

Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.