| 359 | |
| 360 | ## How to have min and max value exchanged through OASIS? ## |
| 361 | |
| 362 | To add min max sum values of one field exchanged through OASIS, one has to add verbose mode, to add 2 operations and to describe them. Then you will find information in output text file. |
| 363 | |
| 364 | Example : |
| 365 | * Modification in namcouple : |
| 366 | * Before : |
| 367 | {{{ |
| 368 | $NLOGPRT |
| 369 | 0 |
| 370 | $END |
| 371 | O_SSTSST SISUTESW 1 5400 2 sstoc.nc EXPORTED |
| 372 | 362 332 144 143 torc tlmd LAG=2700 |
| 373 | P 2 P 0 |
| 374 | LOCTRANS MAPPING |
| 375 | # LOCTRANS CHECKIN MAPPING CHECKOUT |
| 376 | # LOCTRANS: AVERAGE to average value over coupling period |
| 377 | AVERAGE |
| 378 | # CHECKIN: calculates the global minimum, the maximum and the sum of the field |
| 379 | # INT=1 |
| 380 | # Mozaic: 1) mapping filename 2) connected unit 3) dataset rank 4) Maximum |
| 381 | # number of overlapped neighbors |
| 382 | rmp_torc_to_tlmd_MOSAIC.nc src |
| 383 | # CHECKOUT: calculates the global minimum, the maximum and the sum of the field |
| 384 | # INT=1 |
| 385 | # |
| 386 | }}} |
| 387 | * After : |
| 388 | {{{ |
| 389 | $NLOGPRT |
| 390 | 1 |
| 391 | $END |
| 392 | O_SSTSST SISUTESW 1 5400 2 sstoc.nc EXPORTED |
| 393 | 362 332 144 143 torc tlmd LAG=2700 |
| 394 | P 2 P 0 |
| 395 | # LOCTRANS MAPPING |
| 396 | LOCTRANS CHECKIN MAPPING CHECKOUT |
| 397 | # LOCTRANS: AVERAGE to average value over coupling period |
| 398 | AVERAGE |
| 399 | # CHECKIN: calculates the global minimum, the maximum and the sum of the field |
| 400 | INT=1 |
| 401 | # Mozaic: 1) mapping filename 2) connected unit 3) dataset rank 4) Maximum |
| 402 | # number of overlapped neighbors |
| 403 | rmp_torc_to_tlmd_MOSAIC.nc src |
| 404 | # CHECKOUT: calculates the global minimum, the maximum and the sum of the field |
| 405 | INT=1 |
| 406 | # |
| 407 | }}} |
| 408 | * Informations : |
| 409 | * min, max and sum for received field in component 1 : atmosphere |
| 410 | {{{ |
| 411 | > egrep 'oasis_advance_run at .*RECV|diags:' debug.root.01|more |
| 412 | oasis_advance_run at 0 0 RECV: SISUTESW |
| 413 | diags: SISUTESW 0.00000000000 304.540452041 3548934.08936 |
| 414 | oasis_advance_run at 0 0 RECV: SIICECOV |
| 415 | oasis_advance_run at 0 0 RECV: SIICEALW |
| 416 | oasis_advance_run at 0 0 RECV: SIICTEMW |
| 417 | oasis_advance_run at 0 0 RECV: CURRENTX |
| 418 | oasis_advance_run at 0 0 RECV: CURRENTY |
| 419 | oasis_advance_run at 0 0 RECV: CURRENTZ |
| 420 | oasis_advance_run at 5400 5400 RECV: SISUTESW |
| 421 | diags: SISUTESW 0.00000000000 304.569482446 3549053.65992 |
| 422 | ... |
| 423 | }}} |
| 424 | * min, max and sum for sent field from component 2 : ocean |
| 425 | {{{ |
| 426 | > egrep 'oasis_advance_run at.*SEND|diags:' debug.root.02|more |
| 427 | oasis_advance_run at -2700 0 SEND: O_SSTSST |
| 428 | diags: O_SSTSST 0.271306415433 304.835436600 31678793.3366 |
| 429 | oasis_advance_run at -2700 0 SEND: OIceFrc |
| 430 | oasis_advance_run at -2700 0 SEND: O_TepIce |
| 431 | oasis_advance_run at -2700 0 SEND: O_AlbIce |
| 432 | oasis_advance_run at -2700 0 SEND: O_OCurx1 |
| 433 | oasis_advance_run at -2700 0 SEND: O_OCury1 |
| 434 | oasis_advance_run at -2700 0 SEND: O_OCurz1 |
| 435 | oasis_advance_run at 2700 5400 SEND: O_SSTSST |
| 436 | diags: O_SSTSST 0.271306391122 304.852847163 31680753.5627 |
| 437 | ... |
| 438 | }}} |