ASCII Data Import Wizard - Step 3 of 3
Use this wizard dialog to specify the import parameters for the ASCII data file:
In the Channel Type section, specify whether each channel contains data or line information.
The Parameters section displays the fields that define a channel (name, data type and format, string size, etc.). To edit the parameter fields of a channel, select/highlight the corresponding column in the preview window.
The message below the preview window indicates how many channels remain unspecified. Each channel must have a name to continue the import process.
Once all the channels are defined, click the Finish button to return to the Import ASCII dialog.
Data Import Wizard - Step 3 of 3
Application Notes
Numerous date and time formats are supported. To properly import them, define their datatype as Float or double, and then select the correct display format.
In the case of an import that is based on the ISO 8601 format (http://www.w3.org/TR/NOTE-datetime), the date and time are given in a single string, and are separated by the character “T”. The data that is outputted is a single "Date-Time" channel of type double. By default, this is shown as the date, but the time is embedded in the double values. You can use a math expression to extract the time. If the input string contains a TZD ("Time Zone Designator"), then the values are converted to UTC (Coordinated Universal Time), or GMT. You can use the math expression below to extract the "UTC_Time" data from the imported "DateTime" channel.
Year = Floor(DateTime);
DaysInYear = Year % 400 == 0 ? 366.0 : (Year % 100 == 0 ? 365.0 : (Year % 4 == 0 ? 366.0 : 365.0));
Days = DaysInYear*(DateTime-Floor(DateTime));
Time_UTC = (Days - Floor(Days))*24;
Got a question? Visit the Seequent forums or Seequent support
© 2023 Seequent, The Bentley Subsurface Company
Privacy | Terms of Use