Skip to content

Instantly share code, notes, and snippets.

@sanAkel
Last active August 6, 2020 11:56
Show Gist options
  • Save sanAkel/1f0c3b1cb462c9e39ff1eada740738d4 to your computer and use it in GitHub Desktop.
Save sanAkel/1f0c3b1cb462c9e39ff1eada740738d4 to your computer and use it in GitHub Desktop.
Imports and Exports that the data atmosphere gridded component https://github.com/GEOS-ESM/GEOSgcm_GridComp/blob/develop/GEOSdataatm_GridComp/GEOS_DataAtmGridComp.F90 needs

Imports

Following list has been gathered from: https://github.com/GEOS-ESM/GEOSgcm_GridComp/blob/develop/GEOS_GcmGridComp.F90 , scan for:

  1. call DO_O2A (impSKIN,' var_name' , GEX(OGCM), 'var_name' , RC=STATUS)
  2. call DO_O2A_SUBTILES_R{x}R{y}(expSKIN ,'var_name', SUBINDEX_{x1}, GIM(OGCM), 'var_name' , SUBINDEX_{y1}, RC=STATUS) NOTE: above
    • where x1 = O, A; y1 = A, O, respectively
    • where x = 4, 8; y = 8, 4, respectively
      above sequence in x, y and x1, y1 may be incorrect! One should carefully scan the above (URL to) GEOS_GcmGridComp.F90

(from Imports number 1):

  • TSKINI Internal state
  • SSKINI Internal state
  • HSKINI Internal state
  • UW
  • VW
  • KPAR
  • UI
  • VI
  • TAUXBOT
  • TAUYBOT
  • TS_FOUND
  • SS_FOUND
  • FRZMLT

(from Imports number 2):

  • TSKINI Internal state
  • FR Internal state
  • VOLICE Internal state
  • VOLSNO Internal state
  • VOLPOND Internal state
  • ERGICE Internal state
  • ERGSNO Internal state
  • TAUAGE Internal state

Exports

Following list has been gathered from: https://github.com/GEOS-ESM/GEOSgcm_GridComp/blob/develop/GEOS_GcmGridComp.F90 , scan for:

  1. call DO_A2O (GIM(OGCM),'var_name' , expSKIN,'var_name' , RC=STATUS)
  2. call DO_A2O_SUBTILES_{xx}(GIM(OGCM),'var_name' ,SUBINDEX_{x},expSKIN ,'var_name' , SUBINDEX_{y}, RC=STATUS) NOTE: above
  • where xx = R4R4, R4R8; x = O, A; y = A, O, respectively [this sequence in xx, x, y may be incorrect! One should carefully scan the above (URL to) GEOS_GcmGridComp.F90]
  • o are for sub_tiled variables (ice/water)
  1. call DO_A2O_UGD (GIM(OGCM),'var_name' , expSKIN,'var_name', RC=STATUS) NOTE: above are for ungridded_dimensions whatever that means! Currently used to fill in ocean biology and radiation fields

(from Exports number 1):

  • TSKINI Internal state
  • HSKINI Internal state
  • SSKINI Internal state
  • TAUXW
  • TAUYW
  • TAUXO total stress, weighted average of TAUxW and TAUxI
  • TAUYO total stress, weighted average of TAUyW and TAUyI
  • TAUXI
  • TAUYI
  • PENPAR
  • PENPAF
  • PENUVR
  • PENUVF
  • OUSTAR3
  • PS
  • DISCHRG
  • LWFLX
  • SHFLX
  • QFLUX
  • SNOW
  • RAIN
  • DRNIR
  • DFNIR
  • FRESH
  • FSALT
  • FHOCN
  • UU
  • CO2SC
  • FR Internal state
  • VOLICE Internal state
  • VOLSNO Internal state
  • VOLPOND Internal state
  • ERGICE Internal state
  • ERGSNO Internal state
  • TAUAGE Internal state

(from Exports number 2):

  • TI<--> from Internal state: TSKINI really ugly!
  • FRACICE<--> from Internal state: FR really ugly!
  • VOLICE Internal state
  • VOLSNO Internal state
  • ERGICE Internal state
  • ERGSNO Internal state
  • TAUAGE Internal state
  • MPOND <--> from Internal state: VOLPOND really ugly!

(from Exports number 3):

  • DUDP
  • DUWT
  • DUSD
  • BCDP
  • BCWT
  • OCDP
  • OCWT
  • FSWBAND
  • FSWBANDNA
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment