rain export csv

Moderator: Mattk

Post Reply
Gerrit
Fresh Boarder
Fresh Boarder
Posts: 3
Joined: Wed Feb 28, 2018 7:19 pm

rain export csv

Post by Gerrit » Tue Feb 12, 2019 2:38 pm

Hello.

I want to export a CSV file, and get the following output when it rains -999-999-999-999-999
How can I change the rule to get the correct value?


Gerrit

Example rules.
1 2 2010 0 0 -1.8 97 -2.2 1004.2 1.9 5.2 180 -999 -999 -999 -999
1 2 2010 0 5 -1.8 97 -2.2 1004.2 1.8 2.5 180 -999 -999 -999 -999
1 2 2010 0 10 -1.8 98 -2.1 1004.2 1.5 4.3 158 -999 -999 -999 -999
1 2 2010 0 15 -1.8 98 -2.1 1004.3 1.5 4.3 158 -999 -999 -999 -999
1 2 2010 0 20 -1.8 98 -2.1 1004.3 1.7 6.0 158 -999 -999 -999 -999


Code: Select all

timeframe=20100201000000-20100228235959
res=min5

gtitle=WD-Export            # name of graph
gtype=export                # type of graph
glunit=_                    # delimiter
grunit=%-d_%-m_%Y_%-H_%-M   # date/time stamp
gtrim=1                     # cut empty records at start and end

sid0=th* sname0=-999 ssel0=temp sprec0=1                             # temp
sid1=th* sname1=-999 ssel1=hum sprec1=0                              # hum
sid2=th* sname2=-999 ssel2=dew sprec2=1                              # dew
sid3=thb* sname3=-999 ssel3=seapress sprec3=1                        # sea pressure
sid4=wind* sname4=-999 ssel4=wind sfactor4=1.944 sprec4=1            # wind
sid5=wind* sname5=-999 ssel5=gustmax sfactor5=1.944 sprec5=1         # gust
sid6=wind* sname6=-999 ssel6=maindir sfactor6=22.5 sprec6=0          # wind dir
sid7=rain* sname7=-999 ssel7=total sprec7=2 sunit7=_-999_-999_-999   # rainfall

Gerrit
Fresh Boarder
Fresh Boarder
Posts: 3
Joined: Wed Feb 28, 2018 7:19 pm

Re: rain export csv

Post by Gerrit » Wed Feb 13, 2019 5:31 pm

Hello


Now we manage to see the rain value, is there also a possibility to cumulatively increase it to 23.59 per day and then start over again?

Gerrit

Post Reply