Warning message

69 views
Skip to first unread message

docw...@gmail.com

unread,
Aug 27, 2020, 10:10:40 AM8/27/20
to hydromad users
hi if you can help me on this warning message:
> xyplot(Sefra)

Warning messages:
1: In order(as.numeric(x)) :
  NAs introduits lors de la conversion automatique
2: In split(as.numeric(x)[ord], gg[ord]) :
  NAs introduits lors de la conversion automatique
3: In order(as.numeric(x)) :
  NAs introduits lors de la conversion automatique
4: In split(as.numeric(x)[ord], gg[ord]) :
  NAs introduits lors de la conversion automatique
5: In order(as.numeric(x)) :
  NAs introduits lors de la conversion automatique
6: In split(as.numeric(x)[ord], gg[ord]) :
  NAs introduits lors de la conversion automatique
7: In panel.superpose(..., col.line = col.line, col.symbol = col.symbol,  :
  NAs introduits lors de la conversion automatique
8: In panel.superpose(..., col.line = col.line, col.symbol = col.symbol,  :
  NAs introduits lors de la conversion automatique
9: In panel.superpose(..., col.line = col.line, col.symbol = col.symbol,  :
  NAs introduits lors de la conversion automatique

Willem Vervoort

unread,
Aug 27, 2020, 9:03:57 PM8/27/20
to hydromad-users
Dear Wafa (? I assume, there is no signature),
I can't really help with that without knowing what the structure (try str()) of the Sefra object is. It looks to me that you are trying to plot data that is not numeric

Regards
Willem


--
You received this message because you are subscribed to the Google Groups "hydromad users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hydromad-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hydromad-users/fb3bfffa-d384-4b70-ad17-95f624931b74n%40googlegroups.com.

wafa doc

unread,
Sep 21, 2020, 6:33:33 AM9/21/20
to hydroma...@googlegroups.com
Dear Willem 
Here is the structure, These are rainfall-runoff and temperature data per unit time
> str(AinSefra)
‘zoo’ series from 22/10/2000 00:00:00 to 24/10/2000 23:00:00
  Data: num [1:71, 1:3] 0 0 0 0 0 0 0 0 0 0 ...
 - attr(*, "dimnames")=List of 2
  ..$ : NULL
  ..$ : chr [1:3] "P" "Q" "E"
  Index:  chr [1:71] "22/10/2000 00:00:00" "22/10/2000 01:00:00" ...
Thank you 

wafa doc

unread,
Sep 21, 2020, 6:52:29 AM9/21/20
to hydroma...@googlegroups.com
here is an example of 6 lines  
head(AinSefra, 6)
                                     P      Q        E
22/10/2000 00:00:00    0       0       4.6
22/10/2000 01:00:00    0.2    0       4.6
22/10/2000 02:00:00    5       0       4.6
22/10/2000 03:00:00    0      0.5     4.6
22/10/2000 04:00:00    0      0.7     4.6
22/10/2000 05:00:00 0 0 4.6

Willem Vervoort

unread,
Sep 22, 2020, 3:49:10 AM9/22/20
to hydromad-users
I think the problem is the definition of your zoo index. You are using dd/mm/YYYY  HH:MM:SS. I think hydromad (again see the tutorial) expects YYYY-MM-DD
Regards
Willem

Reply all
Reply to author
Forward
0 new messages