12 112 1.0 :NSTA NOBC DELT
Section 1: NWLON TIDE GUAGE INFORMATION
SID   NOS_ID  NWS_ID  AGENCY_ID  DATUM  FLAG  TS_FLAG BACKUP_SID GRIDID_STA  As	 GAUGE NAME
 1   8651370   DUKN7   NOAA      0.539    0	 0	  2	     1       1.0    Duck, NC
 2   8652587   ORIN7   NOAA      0.176    1	 0	  3	     0       1.0    Oregon Inlet Marina, NC
 3   8656483   XXXXX   NOAA      0.521    1	 0	  0	     0       1.0    Beaufort, NC
 4   8570283   OCIM2   NOAA      0.396    0	 0	  5	    106      1.0    Ocean City Inlet, MD   
 5   8534720   ACYN4   NOAA      0.675    1	 0	  6	     0       1.0    Atlantic City, NJ
 6   8531680   XXXXX   NOAA      0.785    1	 0	  0	     0       1.0    Sandy Hook, NJ
 7   8551910   RDYD1   NOAA      0.890    0	 0	  8	    109      1.0    Reedy Point, DE
 8   8551762   DELD1   NOAA      0.877    1	 0	  9	     0       1.0    Delaware City, DE
 9   8573927   CHCM2   NOAA      0.487    1	 0	  0	     0       1.0    Chesapeake City, MD
10   01482800  XXXXX   USGS      0.0	  1	 1       11	    109      1.0    USGS DE River at Reedy Island Jetty, DE
11   01480065  XXXXX   USGS      0.0      1	 0	 12	     0       1.0    USGS Christina River at Newport, DE
12   01481500  XXXXX   USGS      0.0      1	 0	  0	     0       1.0    USGS Brandywind Creek at Wilmington, DE
SECTION 2: CONFIGURATION OF LATERAL OPEN BOUNDARY
  GRIDID     IROMS    JROMS    WL_STA  WL_SID_1 WL_S_1   WL_SID_2 WL_S_2    TS_STA   T_SID_1 TS_S_1  TS_SID_2  TS_S_2    OBC_ID
       1      164        1        2        1    1.000        4    0.000        0        1    1.000        4    1.000        S
       2      165        1        2        1    0.991        4    0.009        0        1    1.000        4    1.000        S
       3      166        1        2        1    0.976        4    0.024        0        1    1.000        4    1.000        S
       4      167        1        2        1    0.957        4    0.043        0        1    1.000        4    1.000        S
       5      168        1        2        1    0.939        4    0.061        0        1    1.000        4    1.000        S
       6      169        1        2        1    0.920        4    0.080        0        1    1.000        4    1.000        S
       7      170        1        2        1    0.902        4    0.098        0        1    1.000        4    1.000        S
       8      171        1        2        1    0.884        4    0.116        0        1    1.000        4    1.000        S
       9      172        1        2        1    0.865        4    0.135        0        1    1.000        4    1.000        S
      10      173        1        2        1    0.850        4    0.150        0        1    1.000        4    1.000        S
      11      174        1        2        1    0.839        4    0.161        0        1    1.000        4    1.000        S
      12      175        1        2        1    0.829        4    0.171        0        1    1.000        4    1.000        S
      13      176        1        2        1    0.819        4    0.181        0        1    1.000        4    1.000        S
      14      177        1        2        1    0.811        4    0.189        0        1    1.000        4    1.000        S
      15      178        1        2        1    0.803        4    0.197        0        1    1.000        4    1.000        S
      16      179        1        2        1    0.796        4    0.204        0        1    1.000        4    1.000        S
      17      180        1        2        1    0.790        4    0.210        0        1    1.000        4    1.000        S
      18      181        1        2        1    0.783        4    0.217        0        1    1.000        4    1.000        S
      19      182        1        2        1    0.777        4    0.223        0        1    1.000        4    1.000        S
      20      183        1        2        1    0.771        4    0.229        0        1    1.000        4    1.000        S
      21      184        1        2        1    0.765        4    0.235        0        1    1.000        4    1.000        S
      22      185        1        2        1    0.758        4    0.242        0        1    1.000        4    1.000        S
      23      186        1        2        1    0.751        4    0.249        0        1    1.000        4    1.000        S
      24      187        1        2        1    0.743        4    0.257        0        1    1.000        4    1.000        S
      25      188        1        2        1    0.735        4    0.265        0        1    1.000        4    1.000        S
      26      189        1        2        1    0.726        4    0.274        0        1    1.000        4    1.000        S
      27      190        1        2        1    0.716        4    0.284        0        1    1.000        4    1.000        S
      28      191        1        2        1    0.707        4    0.293        0        1    1.000        4    1.000        S
      29      192        1        2        1    0.699        4    0.301        0        1    1.000        4    1.000        S
      30      193        1        2        1    0.692        4    0.308        0        1    1.000        4    1.000        S
      31      194        1        2        1    0.684        4    0.316        0        1    1.000        4    1.000        S
      32      195        1        2        1    0.673        4    0.327        0        1    1.000        4    1.000        S
      33      196        1        2        1    0.662        4    0.338        0        1    1.000        4    1.000        S
      34      197        1        2        1    0.655        4    0.345        0        1    1.000        4    1.000        S
      35      198        1        2        1    0.643        4    0.357        0        1    1.000        4    1.000        S
      36      199        1        2        1    0.625        4    0.375        0        1    1.000        4    1.000        S
      37      200        1        2        1    0.607        4    0.393        0        1    1.000        4    1.000        S
      38      201        1        2        1    0.590        4    0.410        0        1    1.000        4    1.000        S
      39      202        1        2        1    0.574        4    0.426        0        1    1.000        4    1.000        S
      40      203        1        2        1    0.561        4    0.439        0        1    1.000        4    1.000        S
      41      204        1        2        1    0.552        4    0.448        0        1    1.000        4    1.000        S
      42      205        1        2        1    0.544        4    0.456        0        1    1.000        4    1.000        S
      43      206        1        2        1    0.537        4    0.463        0        1    1.000        4    1.000        S
      44      207        1        2        1    0.531        4    0.469        0        1    1.000        4    1.000        S
      45      208        1        2        1    0.526        4    0.474        0        1    1.000        4    1.000        S
      46      209        1        2        1    0.521        4    0.479        0        1    1.000        4    1.000        S
      47      210        1        2        1    0.517        4    0.483        0        1    1.000        4    1.000        S
      48      211        1        2        1    0.512        4    0.488        0        1    1.000        4    1.000        S
      49      212        1        2        1    0.508        4    0.492        0        1    1.000        4    1.000        S
      50      213        1        2        1    0.504        4    0.496        0        1    1.000        4    1.000        S
      51      214        1        2        1    0.500        4    0.500        0        1    1.000        4    1.000        S
      52      215        1        2        1    0.496        4    0.504        0        1    1.000        4    1.000        S
      53      216        1        2        1    0.493        4    0.507        0        1    1.000        4    1.000        S
      54      217        1        2        1    0.489        4    0.511        0        1    1.000        4    1.000        S
      55      218        1        2        1    0.485        4    0.515        0        1    1.000        4    1.000        S
      56      219        1        2        1    0.481        4    0.519        0        1    1.000        4    1.000        S
      57      220        1        2        1    0.478        4    0.522        0        1    1.000        4    1.000        S
      58      221        1        2        1    0.474        4    0.526        0        1    1.000        4    1.000        S
      59      222        1        2        1    0.470        4    0.530        0        1    1.000        4    1.000        S
      60      223        1        2        1    0.466        4    0.534        0        1    1.000        4    1.000        S
      61      224        1        2        1    0.463        4    0.537        0        1    1.000        4    1.000        S
      62      225        1        2        1    0.459        4    0.541        0        1    1.000        4    1.000        S
      63      226        1        2        1    0.455        4    0.545        0        1    1.000        4    1.000        S
      64      227        1        2        1    0.451        4    0.549        0        1    1.000        4    1.000        S
      65      228        1        2        1    0.447        4    0.553        0        1    1.000        4    1.000        S
      66      229        1        2        1    0.443        4    0.557        0        1    1.000        4    1.000        S
      67      230        1        2        1    0.438        4    0.562        0        1    1.000        4    1.000        S
      68      231        1        2        1    0.433        4    0.567        0        1    1.000        4    1.000        S
      69      232        1        2        1    0.427        4    0.573        0        1    1.000        4    1.000        S
      70      233        1        2        1    0.420        4    0.580        0        1    1.000        4    1.000        S
      71      234        1        2        1    0.414        4    0.586        0        1    1.000        4    1.000        S
      72      235        1        2        1    0.410        4    0.590        0        1    1.000        4    1.000        S
      73      236        1        2        1    0.405        4    0.595        0        1    1.000        4    1.000        S
      74      237        1        2        1    0.399        4    0.601        0        1    1.000        4    1.000        S
      75      238        1        2        1    0.391        4    0.609        0        1    1.000        4    1.000        S
      76      239        1        2        1    0.383        4    0.617        0        1    1.000        4    1.000        S
      77      240        1        2        1    0.370        4    0.630        0        1    1.000        4    1.000        S
      78      241        1        2        1    0.352        4    0.648        0        1    1.000        4    1.000        S
      79      242        1        2        1    0.336        4    0.664        0        1    1.000        4    1.000        S
      80      243        1        2        1    0.320        4    0.680        0        1    1.000        4    1.000        S
      81      244        1        2        1    0.306        4    0.694        0        1    1.000        4    1.000        S
      82      245        1        2        1    0.292        4    0.708        0        1    1.000        4    1.000        S
      83      246        1        2        1    0.278        4    0.722        0        1    1.000        4    1.000        S
      84      247        1        2        1    0.265        4    0.735        0        1    1.000        4    1.000        S
      85      248        1        2        1    0.251        4    0.749        0        1    1.000        4    1.000        S
      86      249        1        2        1    0.238        4    0.762        0        1    1.000        4    1.000        S
      87      250        1        2        1    0.225        4    0.775        0        1    1.000        4    1.000        S
      88      251        1        2        1    0.212        4    0.788        0        1    1.000        4    1.000        S
      89      252        1        2        1    0.199        4    0.801        0        1    1.000        4    1.000        S
      90      253        1        2        1    0.186        4    0.814        0        1    1.000        4    1.000        S
      91      254        1        2        1    0.173        4    0.827        0        1    1.000        4    1.000        S
      92      255        1        2        1    0.159        4    0.841        0        1    1.000        4    1.000        S
      93      256        1        2        1    0.146        4    0.854        0        1    1.000        4    1.000        S
      94      257        1        2        1    0.134        4    0.866        0        1    1.000        4    1.000        S
      95      258        1        2        1    0.121        4    0.879        0        1    1.000        4    1.000        S
      96      259        1        2        1    0.109        4    0.891        0        1    1.000        4    1.000        S
      97      260        1        2        1    0.097        4    0.903        0        1    1.000        4    1.000        S
      98      261        1        2        1    0.086        4    0.914        0        1    1.000        4    1.000        S
      99      262        1        2        1    0.076        4    0.924        0        1    1.000        4    1.000        S
     100      263        1        2        1    0.062        4    0.938        0        1    1.000        4    1.000        S
     101      264        1        2        1    0.047        4    0.953        0        1    1.000        4    1.000        S
     102      265        1        2        1    0.034        4    0.966        0        1    1.000        4    1.000        S
     103      266        1        2        1    0.022        4    0.978        0        1    1.000        4    1.000        S
     104      267        1        2        1    0.013        4    0.987        0        1    1.000        4    1.000        S
     105      268        1        2        1    0.006        4    0.994        0        1    1.000        4    1.000        S
     106      269        1        2        1    0.000        4    1.000        0        1    1.000        4    1.000        S
     107      332      280        1        7    1.000        7    1.000        1       10    1.000        7    1.000        E
     108      332      281        1        7    1.000        7    1.000        1       10    1.000        7    1.000        E
     109      332      282        1        7    1.000        7    1.000        1       10    1.000        7    1.000        E
     110      332      283        1        7    1.000        7    1.000        1       10    1.000        7    1.000        E
     111      332      284        1        7    1.000        7    1.000        1       10    1.000        7    1.000        E
     112      332      285        1        7    1.000        7    1.000        1       10    1.000        7    1.000        E
-------------------------------------------------------------------------------------------------------------------
GLOSSARY: 

NSTA   : Total number of observation/climatology stations   
NOBC   : Total number of ocean model open boundary grid points
DELT   : Time interval to final open boundary condition time series

SECTION 1: NWLON TIDE GUAGE INFORMATION

SID      : sequential number of observational station 
NWLON_ID : NWLON/PORTS tide gauge ID(NWLON, BUOY, CMAN, USGS,etc.)
NWS_ID   : NWS SHEF ID which is used to extract real time data from NWS BUFR files
DATUM    : Datum to convert water level from MLLW to MSL
FLAG     : indicator of it is a primary or backup station,
           =0, used as a primary station for WL OBC correction using real time observations
           =1, used as a backup station for WL OBC correction using real time observations
TS_FLAG  : indicator of whether it is used for T/S boundary condition,
           =0, no T/S data are used;
           =1, real time T/S obs are used to specify T/S open boundary conditions; 
	       climatology is automatically used if no real time is available; 
           =2, use static historical data set to specify T/S open boundary conditions.
	   if TS_FLAG > 0, T/S climatology have to be specified.  
BACKUP_SID: SID of backup station for this station. The real time obs at BACKUP_SID
            is used to this station. If BACKUP_SID <=0, there is no backup for this station.
            For instance for DBOFS, Atlantic City's backup station is Cape May (BACKUP_SID=4)
GRIDID_STA : GRIDID of open boundary grid point in Section 2 which the observation gauge
             corresponds to. From GRIDID_STA, IROMS and JROMS can be found in Section 2
           GRIDID_STA <= 0 means the station is out of model domain. 
	   For a primary station, GRIDID_STA must be a GRIDID listed in Section 2.
	   For a backup station, GRIDID_STA can be same as its primary station, and 
	   may not be used. 
	   Then the difference between obs and ETSS is computed as,

	     diff (error) = Observed SWL (SID) - ETSS(GRIDID_STA)

	   Currently, Harmonic constants from COOPS (in "fix" directory) are used for tide prediction 
	   IMODEL and JMODEL might be used to extract Harmonic constants from tidal forcing file
	   of ROMS for purpose of detide.
As        : correlation coefficient between primary and backup stations, or scaling factor to project SWL 
           from backup station to primary station.   	     
-----------------------------------------------------------------------               
SECTION 2: CONFIGURATION OF LATERAL OPEN BOUNDARY

 GRIDID   : sequential number of open boundary grid
  IROMS   : grid index along XI direction of ROMS
  JROMS   : grid index along ETA direction of ROMS
 WL_STA   : Number of observed stations used for correction of water level OBC, 
            =0,  no correction by observations, use data source of DBASE_WL
            =1, correct  OBC generated from data source DBASE_WL by observations 
	        from one guage station,therefore,the correction at this grid is,
                 correction=obs_1 * WL_S_1
            =2, correct OBC generated from data source DBASE_WL by observations from
                two guage stations,therefore,the correction at this grid is,
                 correction=obs_1 * WL_S_1 + obs_2 * WL_S_2
WL_SID_1   : SID (first column in Section 1) of first gauge station
WL_SID_2   : SID (first column in Section 1) of second gauge station, it is dummy if WL_STA=1
WL_S_1    : scale factor to multiple observation at first gauge
WL_S_2    : scale factor to multiple observation at second gauge
TS_STA    : Number of observed stations used for correction of T & S OBC, 
            =0, use data source of DBASE_TS, no correction by observations
            =1, use data source of DBASE_TS, but corrected by observations from
                one guage station,therefore,the correction at this grid is,
                 correction=obs_1 * T_S_1
            =2, use data source of DBASE_TS, but corrected by observations from
                two guage stations,therefore,the correction at this grid is,
                 correction=obs_1 * T_S_1 + obs_2 * T_S_2
TS_SID_1   : SID (first column in Section 1) of first gauge station
TS_SID_2   : SID (first column in Section 1) of second gauge station
TS_S_1     : scale factor to multiple observation at first gauge
TS_S_2     : scale factor to multiple observation at second gauge
OBC_ID    : indicate which side of OB: "S" for southern open boundary; "N" for northern 
            open boundary; "W" for western open boundary; "E" for eastern open boundary. 
-----------------------------------------------------------------------               
NOTES

1. For interpolation, all open points are treated in same way no mater whichever boundary the point is on.
   Then using OBC_ID assign to corresponding boundary variables (e.g. zeta_south, temp_south, and so on)
2. Then the difference between observation and ETSS is computed as,

	     diff (error) = Observed SWL (SID) - ETSS(GRIDID_STA)