New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 2141 for branches/dev_1784_PATM/NEMO/OPA_SRC/SBC/sbcmod.F90 – NEMO

Ignore:
Timestamp:
2010-09-30T15:22:26+02:00 (14 years ago)
Author:
cbricaud
Message:

add module to read atmospheric pressure and module to compute surface pressure gradient

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dev_1784_PATM/NEMO/OPA_SRC/SBC/sbcmod.F90

    r1725 r2141  
    66   !! History :  3.0   !  07-2006  (G. Madec)  Original code 
    77   !!             -    !  08-2008  (S. Masson, E. .... ) coupled interface 
     8   !!            3.2   !  2010-08  (J. Chanut, C. Bricaud) add atmospheric pressure forcing  
    89   !!---------------------------------------------------------------------- 
    910 
     
    2829   USE sbccpl          ! surface boundary condition: coupled florulation 
    2930   USE cpl_oasis3, ONLY:lk_cpl      ! are we in coupled mode? 
     31   USE sbcpatm         ! surface boundary condition: atmospheric pressure forcing 
    3032   USE sbcssr          ! surface boundary condition: sea surface restoring 
    3133   USE sbcrnf          ! surface boundary condition: runoffs 
     
    7072      !! 
    7173      NAMELIST/namsbc/ nn_fsbc, ln_ana, ln_flx, ln_blk_clio, ln_blk_core, ln_cpl,   & 
    72          &             nn_ice , ln_dm2dc, ln_rnf, ln_ssr, nn_fwb, nn_ico_cpl 
     74         &             nn_ice , ln_dm2dc, ln_rnf, ln_ssr, ln_patm, nn_fwb, nn_ico_cpl 
    7375      !!---------------------------------------------------------------------- 
    7476 
     
    114116         WRITE(numout,*) '              runoff / runoff mouths                     ln_rnf      = ', ln_rnf 
    115117         WRITE(numout,*) '              Sea Surface Restoring on SST and/or SSS    ln_ssr      = ', ln_ssr 
     118         WRITE(numout,*) '              Atmpospheric pressure forcing              ln_patm     = ', ln_patm 
    116119         WRITE(numout,*) '              FreshWater Budget control  (=0/1/2)        nn_fwb      = ', nn_fwb 
    117120         WRITE(numout,*) '              closed sea (=0/1) (set in namdom)          nn_closea   = ', nn_closea 
     
    195198      !                                          ! temperature and salinity (at T-point) over nf_sbc time-step 
    196199      !                                          ! (i.e. sst_m, sss_m, ssu_m, ssv_m) 
     200 
     201      ! read atmospharic pressure 
     202      ! ------------------------- 
     203      IF ( ln_patm ) CALL sbc_patm( kt ) 
    197204 
    198205      ! sbc formulation 
Note: See TracChangeset for help on using the changeset viewer.