compile ww3 model version6.07.1 with ncep2 #1442
Unanswered
aminekhedim
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am currently working on generating GRIB2 output files from the WaveWatch III (WW3) model that include the following variables:
significant wave height (HS)
mean wave direction (DIR)
Partitioned mean direction (PDIR)
Partitioned wave heights (PHS)
Mean wave period (Tm0,2) (T02)
Mean wave period (m0,2) of partition (PT02).
To enable GRIB2 output, I have successfully compiled the following NCEPLIBS libraries:
bacio version 2.6.0
bufr version 12.2.0
g2 version 4.0.0
ip version 3.3.3
sp version 2.3.3
w3emc version 2.12.0
w3nco version 2.4.1
Additional dependencies: jasper (2.0.25), zlib (1.2.13), and libpng (1.2.34)
I also enabled the ncep1 option in the WW3 switch file and configured the linking paths accordingly, as shown below:
libs="${G2_LIB4} ${G2C_LIB4} ${W3NCO_LIB4} ${BACIO_LIB4} ${JASPER_LIB} ${PNG_LIB} ${Z_LIB} -I/home/amine/NCEPLIBS/include -I/home/amine/NCEPLIBS/include/jasper -I/home/amine/NCEPLIBS/include_4 -I/home/amine/NCEPLIBS/include_8 -I/home/amine/libs/include"
With this configuration, I am able to generate GRIB1 output files when using the ncep1 option. However, the output files do not include some variables—specifically T02 and PT02—even though they are essential for my application. I have observed that these variables are not described in the default GRIB1/GRIB2 table associated with WW3.
I noticed that when I activate the NCEP2 option in the switch file, the resulting GRIB2 file becomes corrupted.
Could you please advise on the correct procedure to include these additional variables (e.g., t02, pt02) in the GRIB2 output of ww3 model , particularly when using the ncep2 in switch? Is there a way to extend or modify the GRIB2 table definitions in WW3 to support these variables?
Thank you very much for your assistance.
Beta Was this translation helpful? Give feedback.
All reactions