how to correct bad data (mac user)

15 views
Skip to first unread message

greenvespa

unread,
Sep 8, 2008, 7:58:11 AM9/8/08
to wview
I have a bad data (-17.8 °C on 4 sep 08). I'm using Wview 4.0.1 on my
Mac with OSX Tiger (10.4.11). How can i correct it?
Could someone post some instructions on how to use AFEDIT? I know it's
a kde application, but i can use a PC linux machine with Ubuntu. Do i
need to convert my .wlk file before open it on the linux machine?
Do i have others options to correct bad data from my Mac?
Thanks. Michele

michael

unread,
Sep 8, 2008, 8:40:00 AM9/8/08
to wview
Hi Michelle

I build made a couple of notes when I build AFEDIT on my mac

1. Install macports

refer http://trac.macports.org/wiki/InstallingMacPorts


2. install qt3

sudo port install qt3
QTDIR=/opt/local/lib/qt3; export QTDIR

3. make

As for the conversion it depends on what you are running wview on. But
it will be obvious if you try and load a file into AFEDIT that needs
to be converted. The data in the file won't make sense e.g.
temperatures will be nonsense.

Michael

greenvespa

unread,
Sep 8, 2008, 8:54:08 AM9/8/08
to wview
Hi Michael, first of all thanks for your notes, but i think i need
some more informations:

- I already installed MacPorts, i need only to install qt3. To do that
from command line: first "sudo port install qt3" and next "QTDIR=/opt/
local/lib/qt3; export QTDIR". Is it correct?

- make . Could you give me extra informations? Do i need to download
afedit.bin? i'm very confused.

As for the conversion my question was about little/big endian, but i
think that if i can use afedit on my mac i don't need it.

Thanks a lot. Michele

On 8 Set, 14:40, michael <michaelhmail-googlegr...@yahoo.com> wrote:
> Hi Michelle
>
> I build made a couple of notes when I build AFEDIT on my mac
>
> 1. Install macports
>
> referhttp://trac.macports.org/wiki/InstallingMacPorts

michael

unread,
Sep 9, 2008, 5:45:54 AM9/9/08
to wview


>
> - I already installed MacPorts, i need only to install qt3. To do that
> from command line: first "sudo port install qt3" and next "QTDIR=/opt/
> local/lib/qt3; export QTDIR". Is it correct?

Yep

>
> - make . Could you give me extra informations? Do i need to download
> afedit.bin? i'm very confused.

To build on a mac you need the file afedit-0.1.tar.gz

In my case the I have the source files located at:

/Users/michael/MacPrograms/afedit

So using Terminal I :

cd /Users/michael/MacPrograms/afedit
make

"make" is a command that will compile the afedit source programs

>
> As for the conversion my question was about little/big endian, but i
> think that if i can use afedit on my mac i don't need it.

Intel Mac's are little endian. If your weather station is also little
endian then no converstion will be needed. If your weather station is
big endian then you will need to convert.

I found the afedit will load the .wlk file and when I forgot to do a
conversion I just get nonsense data.


greenvespa

unread,
Sep 10, 2008, 5:29:24 PM9/10/08
to wview
Sorry Michael, but i need some more informations on how to compile
afedit.
I downloaded afedit-0.1.tar.gz and now i have a folder called
"afedit".
Inside that folder i have:
- afedit.pro (file)
- images (folder)
- src (folder)
From terminal i tried:
cd /Applications/afedit
make

But i got only: make: *** No targets specified and no makefile found.
Stop.

Could you please help me give me the correct command to compile and to
lunch afedit?
Thanks a lot for your precious support.
Michele

michael

unread,
Sep 11, 2008, 7:52:59 AM9/11/08
to wview
Okay I forgot

type:

qmake

then type

make

greenvespa

unread,
Sep 12, 2008, 7:14:30 AM9/12/08
to wview
Ok Michael, that's what i did:
cd /Applications/afedit
qmake
make

and that's the result:
cd src && qmake src.pro -o Makefile
cd src && make -f Makefile
/bin/uic mainform.ui -o .ui/mainform.h
make[1]: /bin/uic: Command not found
make[1]: *** [.ui/mainform.h] Error 127
make: *** [sub-src] Error 2

What's happening? Thanks a lot. Michele

michael

unread,
Sep 12, 2008, 6:16:12 PM9/12/08
to wview
Hi Michelle

You need the QTDIR=/opt/local/lib/qt3; export QTDIR

e..g.

QTDIR=/opt/local/lib/qt3; export QTDIR
cd /Applications/afedit
qmake
make

greenvespa

unread,
Sep 13, 2008, 3:41:51 AM9/13/08
to wview
OK, finally it works and i opened 2008-09.wlk in afedit (thanks
Michael!), but i need help to resolve the problem: between row "04
24:00" and "05 00:05" (i have 5 min archive interval) there's a row
called "04 00:00" with all 0 values. Is it possible to delete this
row? What you suggest to do?
Thanks a lot. Michele

I

michael

unread,
Sep 13, 2008, 4:40:01 AM9/13/08
to wview
Great news Michelle

Looks like you can't delete !! I would suggest setting all the values
to the same as either the row before or the row after. Not the ideal
solution but weather doesn't change that quickly so I doubt anyone
will notice.

Cheers
Michael
Reply all
Reply to author
Forward
0 new messages