Ignore:
Timestamp:
2019-12-02T18:23:11+01:00 (14 months ago)
Author:
laurent
Message:

Keep up with r12030 of trunk + latex doc for SBCBLK!

Location:
NEMO/branches/2019/dev_r11085_ASINTER-05_Brodeau_Advanced_Bulk/tests/STATION_ASF
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2019/dev_r11085_ASINTER-05_Brodeau_Advanced_Bulk/tests/STATION_ASF/EXPREF/plot_station_asf.py

    r11996 r12031  
    2828cy1     = '2016' ; # First year 
    2929cy2     = '2018' ; # Last year 
     30 
     31jt0 = 0 
     32jt0 = 17519 
     33 
    3034 
    3135dir_figs='.' 
     
    100104# Getting time array from the first file: 
    101105id_in = Dataset(cf_in[0]) 
    102 vt = id_in.variables['time_counter'][:] 
     106vt = id_in.variables['time_counter'][jt0:] 
    103107cunit_t = id_in.variables['time_counter'].units ; print(' "time_counter" is in "'+cunit_t+'"') 
    104108id_in.close() 
     
    110114vtime = nmp.zeros(nbr) 
    111115 
    112 vt = vt + 1036800. # BUG!??? don't get why false in epoch to date conversion, and yet ncview gets it right! 
     116vt = vt + 1036800. + 30.*60. # BUG!??? don't get why false in epoch to date conversion, and yet ncview gets it right! 
    113117for jt in range(nbr): vtime[jt] = mdates.epoch2num(vt[jt]) 
    114118 
     
    134138            if ctest == 'skin':   id_in = Dataset(cf_in[ja]) 
    135139            if ctest == 'noskin': id_in = Dataset(cf_in_ns[ja]) 
    136             xF[:,ja] = id_in.variables[L_VNEM[jv]][:,1,1] # only the center point of the 3x3 spatial domain! 
     140            xF[:,ja] = id_in.variables[L_VNEM[jv]][jt0:,1,1] # only the center point of the 3x3 spatial domain! 
    137141            if ja == 0: cvar_lnm = id_in.variables[L_VNEM[jv]].long_name 
    138142            id_in.close() 
     
    207211    for ja in range(nb_algos-1): 
    208212        id_in = Dataset(cf_in[ja]) 
    209         xF[:,ja]   = id_in.variables[L_VNEM[jv]][:,1,1] # only the center point of the 3x3 spatial domain! 
     213        xF[:,ja]   = id_in.variables[L_VNEM[jv]][jt0:,1,1] # only the center point of the 3x3 spatial domain! 
    210214        if ja == 0: cvar_lnm = id_in.variables[L_VNEM[jv]].long_name 
    211215        id_in.close() 
    212216        # 
    213217        id_in = Dataset(cf_in_ns[ja]) 
    214         xFns[:,ja] = id_in.variables[L_VNEM[jv]][:,1,1] # only the center point of the 3x3 spatial domain! 
     218        xFns[:,ja] = id_in.variables[L_VNEM[jv]][jt0:,1,1] # only the center point of the 3x3 spatial domain! 
    215219        if ja == 0: cvar_lnm = id_in.variables[L_VNEM[jv]].long_name 
    216220        id_in.close() 
  • NEMO/branches/2019/dev_r11085_ASINTER-05_Brodeau_Advanced_Bulk/tests/STATION_ASF/README.md

    r12019 r12031  
    66## Objectives 
    77 
    8 ```STATION_ASF``` is a demonstration case that mimics an in-situ station (buoy, platform) dedicated to the estimation of surface air-sea fluxes by means of the more widely measured traditional meteorological surface parameters (sea and atmosphere). 
     8```STATION_ASF``` is a demonstration case that mimics an in-situ station (buoy, platform) dedicated to the estimation of surface air-sea fluxes by means of the measurement of traditional meteorological surface parameters. 
    99 
    1010```STATION_ASF``` is based on the merging of the "single column" and the "standalone surface module" configurations of NEMO. In short, it coulb defined as "SAS meets C1D". As such, the spatial domain of ```STATION_ASF``` is punctual (1D, well actually 3 x 3 as in C1D). 
Note: See TracChangeset for help on using the changeset viewer.