#1 2016-07-11 15:29:36

Thierry
Member
Registered: 2016-07-11
Posts: 4

Unable to import wind data

Greetings,

i'm trying to import data with this format :


"20131223 12:40    6,852    177,6"


through a .txt file (i've also tried a csv).

The problem is WACA 3.1 created some sort of ghost column when importing.


He proposes :


"Timestamp" with none column number
"Unrecognized" column 1 sample :NULL
"Speed" column 02
"Direction" column 03


If I try to import i get :


"Could not refresh the report view because ... 
    file reading operation failed while performing file read operation in class cFileReadOperationCollection in method ReadFiles.  because ... 
    failed to read a file because ... 
    the system reported that:
    'Division by zero.'"


I'm lost here, my data seems well organized, could you please help me ?


Best regards.

Last edited by Thierry (2016-07-13 09:31:47)

Offline

#2 2016-07-12 15:43:06

MattiLindroth
WAsP team
Registered: 2013-05-14
Posts: 12

Re: Unable to import wind data

Greetings Thierry,


This indeed a problematic type in current WaCA 3.1 build.
I was able to reproduce the problem you are experiencing. It seems the date time format is not recognized by WaCA.


I am going to include this date time format to the supported date time formats list for the next build, but in the meantime if you want you change the format in following ways to use your data in current available WaCA version:


1.) Either write the time stamp in one bundle like this: 201312231240
2.) Or just remove the colon between hour and minute like this: 20131223 1240


Both of the date time formats above are supported. You can achieve the latter one easily by a simple replace or remove operation in almost any text editor.

Also I recommend using ISO-8601- format (YYYY-MM-DD HH:mm:ss) whenever possible. It is unambiguous and mostly supported by any software.

Offline

#3 2016-07-13 09:34:17

Thierry
Member
Registered: 2016-07-11
Posts: 4

Re: Unable to import wind data

Hello,

it did work, thank you.

I'll try to use the ISO format for the next time.

Best regards.

Offline

#4 2018-04-11 14:42:27

Mario Matković
Member
Registered: 2018-04-11
Posts: 1

Re: Unable to import wind data

Greetings,
I am experiencing the same problem and have tried the procedure above. But then I get a warning --> Error : Unable import file to WAsP Climate Analyst. No protocol could be generated for a file.

If you could give me an advice, i would be grateful.

Best regards.

Last edited by Mario Matković (2018-04-11 14:43:32)

Offline

Board footer

Powered by FluxBB