Using the ExtData component: Difference between revisions

Bmauer (talk | contribs)
No edit summary
Bmauer (talk | contribs)
No edit summary
Line 24: Line 24:
# ---------|---------|-----|-----|------|----------------------|--------|-------|---------------------------------|-----------------------------------------------------------|
# ---------|---------|-----|-----|------|----------------------|--------|-------|---------------------------------|-----------------------------------------------------------|
#  Export  |        |    | V  |      |_______ Refresh ______|____ Factors ___|________ External File __________|______________________External File Time Data______________|
#  Export  |        |    | V  |      |_______ Refresh ______|____ Factors ___|________ External File __________|______________________External File Time Data______________|
#  Name    | Units  | Dim | Loc | Clim |    Time Template    | Offset | Scale | Variable |      Template        |  Refference Time   | File Frequency Unit | File Frequency |
#  Name    | Units  | Dim | Loc | Clim |    Time Template    | Offset | Scale | Variable |      Template        |  Reference Time   | File Frequency Unit | File Frequency |
# ---------|---------|-----|-----|------|----------------------|--------|-------|----------|----------------------|--------------------|---------------------|----------------|
# ---------|---------|-----|-----|------|----------------------|--------|-------|----------|----------------------|--------------------|---------------------|----------------|
ALBNF          NA      xy    c      N            0              0.0      1.0    ALBNF    myfile.%y4%m2%d2.nc4  2000-04-15T00:00:00          days              1
ALBNF          NA      xy    c      N            0              0.0      1.0    ALBNF    myfile.%y4%m2%d2.nc4  2000-04-15T00:00:00          days              1
Line 35: Line 35:
:Dimensions - xy for 2D or xyz for 3D
:Dimensions - xy for 2D or xyz for 3D
:Vertical location - c for center, e for edge, if 2d enter c or e but this will obviously not be used
:Vertical location - c for center, e for edge, if 2d enter c or e but this will obviously not be used
:Clim - enter Y if the file is a climatology file, otherwise enter no.
:Clim - enter Y if the file is a climatology file, otherwise enter no. If you specify it is a climatology ExtData will assume all data is on one file.
:Refresh template - you have 3 choices
:Refresh template - you have 3 choices
::1.) Enter '-'. In this case the field will only be updated once the first time ExtData runs
::1.) Enter '-'. In this case the field will only be updated once the first time ExtData runs
::2.) Enter a refresh template of the form %y4-%m2-%h2T%h2:%n2:00 to set the recurring time to update the file. For example to update the file once a day at 21Z enter %y4-%m2-%d2T21:00:00 to update the file the first of the month at 21Z enter %y4-%m2-01T21:0000
::2.) Enter a refresh template of the form %y4-%m2-%h2T%h2:%n2:00 to set the recurring time to update the file. For example to update the file once a day at 21Z enter %y4-%m2-%d2T21:00:00, as another example update the file the first of the month at 21Z enter %y4-%m2-01T21:0000
::3.) Enter '0' to update the variable at every step. ExtData will do a linear interpolation using the available times on the file. This option allows the user more sophisticated option for breaking the data up into different files. See the discussion further down about the file frequency.
:Offset - This is a factor the variable will be shifted by
:Scale - This is a factor the variable will be scaled by
:Variable - This is the name of the variable ON THE FILE. It need not be the same as the export name
:File Template - this is a grads style template, if there are no tokens in the template name ExtData will assume that all the data is on one file.