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 9016 for branches/UKMO/dev_r5518_obs_oper_update_bgc3d/NEMOGCM/NEMO/OPA_SRC/OBS/obs_write.F90 – NEMO

Ignore:
Timestamp:
2017-12-13T15:30:00+01:00 (7 years ago)
Author:
dford
Message:

Change naming convention and fix a couple of bugs - code now compiles and runs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/UKMO/dev_r5518_obs_oper_update_bgc3d/NEMOGCM/NEMO/OPA_SRC/OBS/obs_write.F90

    r8693 r9016  
    8383      TYPE(obfbdata) :: fbdata 
    8484      CHARACTER(LEN=40) :: clfname 
    85       CHARACTER(LEN=27) :: clfiletype 
     85      CHARACTER(LEN=10) :: clfiletype 
    8686      INTEGER :: ilevel 
    8787      INTEGER :: jvar 
     
    320320      TYPE(obfbdata) :: fbdata 
    321321      CHARACTER(LEN=40) :: clfname         ! netCDF filename 
    322       CHARACTER(LEN=27) :: clfiletype 
     322      CHARACTER(LEN=10) :: clfiletype 
    323323      CHARACTER(LEN=12), PARAMETER :: cpname = 'obs_wri_surf' 
    324324      CHARACTER(LEN=ilenlong) :: cllongname  ! Long name of variable 
     
    399399         clgrid     = 'T' 
    400400 
    401       CASE('SURF_LOGCHL_TOTAL','LOGCHL','LogChl','logchl') 
    402  
    403          clfiletype = 'surf_logchl_totalfb' 
     401      CASE('SLCHLTOT','LOGCHL','LogChl','logchl') 
     402 
     403         clfiletype = 'slchltotfb' 
    404404         cllongname = 'Surface total log10(chlorophyll)' 
    405405         clunits    = 'log10(mg/m3)' 
    406406         clgrid     = 'T' 
    407407 
    408       CASE('SURF_LOGCHL_DIAT') 
    409  
    410          clfiletype = 'surf_logchl_diatfb' 
     408      CASE('SLCHLDIA') 
     409 
     410         clfiletype = 'slchldiafb' 
    411411         cllongname = 'Surface diatom log10(chlorophyll)' 
    412412         clunits    = 'log10(mg/m3)' 
    413413         clgrid     = 'T' 
    414414 
    415       CASE('SURF_LOGCHL_NONDIAT') 
    416  
    417          clfiletype = 'surf_logchl_nondiatfb' 
     415      CASE('SLCHLNON') 
     416 
     417         clfiletype = 'slchlnonfb' 
    418418         cllongname = 'Surface non-diatom log10(chlorophyll)' 
    419419         clunits    = 'log10(mg/m3)' 
    420420         clgrid     = 'T' 
    421421 
    422       CASE('SURF_LOGCHL_DINO') 
    423  
    424          clfiletype = 'surf_logchl_dinofb' 
     422      CASE('SLCHLDIN') 
     423 
     424         clfiletype = 'slchldinfb' 
    425425         cllongname = 'Surface dinoflagellate log10(chlorophyll)' 
    426426         clunits    = 'log10(mg/m3)' 
    427427         clgrid     = 'T' 
    428428 
    429       CASE('SURF_LOGCHL_MICRO') 
    430  
    431          clfiletype = 'surf_logchl_microfb' 
     429      CASE('SLCHLMIC') 
     430 
     431         clfiletype = 'slchlmicfb' 
    432432         cllongname = 'Surface microphytoplankton log10(chlorophyll)' 
    433433         clunits    = 'log10(mg/m3)' 
    434434         clgrid     = 'T' 
    435435 
    436       CASE('SURF_LOGCHL_NANO') 
    437  
    438          clfiletype = 'surf_logchl_nanofb' 
     436      CASE('SLCHLNAN') 
     437 
     438         clfiletype = 'slchlnanfb' 
    439439         cllongname = 'Surface nanophytoplankton log10(chlorophyll)' 
    440440         clunits    = 'log10(mg/m3)' 
    441441         clgrid     = 'T' 
    442442 
    443       CASE('SURF_LOGCHL_PICO') 
    444  
    445          clfiletype = 'surf_logchl_picofb' 
     443      CASE('SLCHLPIC') 
     444 
     445         clfiletype = 'slchlpicfb' 
    446446         cllongname = 'Surface picophytoplankton log10(chlorophyll)' 
    447447         clunits    = 'log10(mg/m3)' 
    448448         clgrid     = 'T' 
    449449 
    450       CASE('SURF_CHL_TOTAL') 
    451  
    452          clfiletype = 'surf_chl_totalfb' 
     450      CASE('SCHLTOT') 
     451 
     452         clfiletype = 'schltotfb' 
    453453         cllongname = 'Surface total chlorophyll' 
    454454         clunits    = 'mg/m3' 
    455455         clgrid     = 'T' 
    456456 
    457       CASE('SURF_SPM') 
    458  
    459          clfiletype = 'surf_spmfb' 
     457      CASE('SSPM') 
     458 
     459         clfiletype = 'sspmfb' 
    460460         cllongname = 'Surface suspended particulate matter' 
    461461         clunits    = 'g/m3' 
    462462         clgrid     = 'T' 
    463463 
    464       CASE('SURF_FCO2','FCO2','fCO2','fco2') 
    465  
    466          clfiletype = 'surf_fco2fb' 
     464      CASE('SFCO2','FCO2','fCO2','fco2') 
     465 
     466         clfiletype = 'sfco2fb' 
    467467         cllongname = 'Surface fugacity of carbon dioxide' 
    468468         clunits    = 'uatm' 
    469469         clgrid     = 'T' 
    470470 
    471       CASE('SURF_PCO2') 
    472  
    473          clfiletype = 'surf_pco2fb' 
     471      CASE('SPCO2') 
     472 
     473         clfiletype = 'spco2fb' 
    474474         cllongname = 'Surface partial pressure of carbon dioxide' 
    475475         clunits    = 'uatm' 
Note: See TracChangeset for help on using the changeset viewer.