Skip to content

Trouble shooting

Rasmus E. Benestad edited this page Mar 12, 2015 · 13 revisions

First thing if you have a problem, try to run the function with verbose set to TRUE, if there is a verbose argument. E.g.

normal.period <- subset(Oslo,it=c(1961,1990),verbose=TRUE)

The messages produced may give you a clue about the problem. Also try the examples provided in the manual, if you can find it (e.g. type ?subset'). Try to do the analysis with the data provided in esd. The problem may be that the data structure is not quite right, that some attributes are missing, etc. Often the problem can be fixed re-setting the attributes. The esdpackage comes with some sample data likeOslo, Ferder, bjornholt, NACDand large-scale filtered versions of some reanalyses (see eg?t2m.NCEP). If you have troubles, then you can try to repeat the analysis with data objects provided in esd` to see if the problem is related to the structure of the data objects - sometimes a mis-specified attribute may cause the the analysis to halt.