Actions

NCDVAR.DAT: Difference between revisions

From BAWiki

(first version)
 
(page formatting improved)
Line 17: Line 17:
* Block '''Input_File''': Input-Datei
* Block '''Input_File''': Input-Datei
*# '''Data_File''': Name and type of the input file (file of type [[CF-NETCDF.NC|netcdf.nc]])
*# '''Data_File''': Name and type of the input file (file of type [[CF-NETCDF.NC|netcdf.nc]])
*#: File must exist
:::- File must exist
* Block '''Output_File''': Output-Datei
* Block '''Output_File''': Output-Datei
*# '''Data_File''' Name and type of the output file (file of type [[CF-NETCDF.NC|netcdf.nc]])
*# '''Data_File''' Name and type of the output file (file of type [[CF-NETCDF.NC|netcdf.nc]])
*#: File cannot exist
:::- File cannot exist
* (optional) Block '''Mesh_Variables_Action''': Actions on all variables of a grid (''Mesh'')
* (optional) Block '''Mesh_Variables_Action''': Actions on all variables of a grid (''Mesh'')
*# '''Action''': Name of ''Mesh''-Variable and action (''COPY'', ''DELETE''), to be executed on the variables of this grid.
*# '''Action''': Name of ''Mesh''-Variable and action (''COPY'', ''DELETE''), to be executed on the variables of this grid.  
*#: Remarks:  
:::- Not all [[CF-NETCDF.NC|netcdf.nc]] files contain ''Mesh'' variables;
*#: a) Not all [[CF-NETCDF.NC|netcdf.nc]] files contain ''Mesh'' variables;
:::- Line can be specified more than once.
*#: b) Line can be specified more than once.
* (optional) Block '''Single_Variable_Action''': Actions for individual variables
* (optional) Block '''Single_Variable_Action''': Actions for individual variables
*# '''Action''': Name of ''Variable'' and action (''COPY'', ''DELETE''), which should be carried out for this variable.
*# '''Action''': Name of ''Variable'' and action (''COPY'', ''DELETE''), which should be carried out for this variable.  
*#: Remarks:  
:::- Line can be specified more than once;
*#: a) Line can be specified more than once;
:::- Overrides the global ''Action'' in block '''Mesh_Variables_Action'''.  
*#: b) Overrides the global ''Action'' in block '''Mesh_Variables_Action'''.  
* (optional) Block '''Time_Coordinate_Thinning''': Thinning out of equidistant time coordinates
* (optional) Block '''Time_Coordinate_Thinning''': Thinning out of equidistant time coordinates
*# '''Time_KV_Name''': Name of a time coordinate variable
*# '''Time_KV_Name''': Name of a time coordinate variable
Line 36: Line 34:
*# '''End_Time''': End time and time zone in format DD.MM.YYYY-hh:mm:ss.nnnnnnnnn zone
*# '''End_Time''': End time and time zone in format DD.MM.YYYY-hh:mm:ss.nnnnnnnnn zone
*# '''Time_Step''': Time step in format dddddd-hh:mm:ss.nnnnnnnnn
*# '''Time_Step''': Time step in format dddddd-hh:mm:ss.nnnnnnnnn
*#: Remarks:
:::- Only works for temporally equidistant input data;
*#: a) Only works for temporally equidistant input data;
:::- The start and end times must be present in the input data;
*#: b) The start and end times must be present in the input data;
:::- The time step must be an integer multiple of the input data.
*#: c) The time step must be an integer multiple of the input data.


===General Remarks===
===General Remarks===

Revision as of 12:10, 16 March 2020

Basic Information

File-Type

ncdvar.dat

File-Form

FORMATTED

Version

April 2020

Description-Date

April 2020

Significance of the File

contains general steering data for the program NCDVAR.

File-Contents (in Catchwords)

steering data

  • Block Program_Parameters: Allgemeine Steuerdaten
    1. Max_Read_Storage: Different number of data values that can be read for each input variable in a copy cycle.
    2. (optional) Create_Missing_Variables
    3. (optional) NC_Deflate_Level
    4. (optional) END_After_Define
    5. (optional) Delete_Coordinate_Variables
    6. (optional) Chunk_Output_File
  • Block Input_File: Input-Datei
    1. Data_File: Name and type of the input file (file of type netcdf.nc)
- File must exist
  • Block Output_File: Output-Datei
    1. Data_File Name and type of the output file (file of type netcdf.nc)
- File cannot exist
  • (optional) Block Mesh_Variables_Action: Actions on all variables of a grid (Mesh)
    1. Action: Name of Mesh-Variable and action (COPY, DELETE), to be executed on the variables of this grid.
- Not all netcdf.nc files contain Mesh variables;
- Line can be specified more than once.
  • (optional) Block Single_Variable_Action: Actions for individual variables
    1. Action: Name of Variable and action (COPY, DELETE), which should be carried out for this variable.
- Line can be specified more than once;
- Overrides the global Action in block Mesh_Variables_Action.
  • (optional) Block Time_Coordinate_Thinning: Thinning out of equidistant time coordinates
    1. Time_KV_Name: Name of a time coordinate variable
    2. Start_Time: Start time and time zone in format DD.MM.YYYY-hh:mm:ss.nnnnnnnnn zone
    3. End_Time: End time and time zone in format DD.MM.YYYY-hh:mm:ss.nnnnnnnnn zone
    4. Time_Step: Time step in format dddddd-hh:mm:ss.nnnnnnnnn
- Only works for temporally equidistant input data;
- The start and end times must be present in the input data;
- The time step must be an integer multiple of the input data.

General Remarks

  1. Used dictionary files from directory $PROGHOME/dic/:
    • ncdvar_dico.dat.
  2. Applications:
    • Case 1: deleting coordinate variables of a certain type;
    • Case 2: deleting/copying variables present on a certain grid;
    • Case 3: deleting/copying selected variables;
    • Case 4: deleting/copying selected dates in the time direction of equidistant data.

Programs using this Type of File

NCDVAR

Example-File

$PROGHOME/examples/ncdvar/ncdvar.dat


back to: File Descriptions


Overview