Ok this is driving me crazy

I had posted this error some time back and as i have returned to my
analysis it is repeating

so essentially i have a dataframe coopy for one year with about 3044 points
and a column for every month of the year representing precip values

The location information is in Lat/Lon coordinates

I am performing cross validation Kriging on every column in a for loop

as

*output<-autoKrige.cv (Mth ~ 1, .....and so on)*

before this i convert the dataframe to spatial class using
coordinates()=~Lat+Lon

i then remove duplicate points (about 8 ) using remove.duplicates function



The problem that i am facing is that Kriging cv works fine for months Jan
to April and Oct to Dec

but for May to Sep it just keeps on giving me the same error

"

*Error: dimensions do not match: locations 6076 and data 3037*"

I have checked and rechecked my dataframe essentially there is no
difference between the spatial dataframe representing month Jan

and month May

This is because i am using the same location values in both cases ,
same no of rows, same type of variable etc but invariably i get the
error

for these 4 months

Moreover i am performing this analysis for years 2001 to 2010 , the
problem persists for these months in each case....!!!

I just could not locate the source of error myself, i tried *copying
to a new file, reading as a single dataframe for one month, changing

the column headers and everything else i could think off but am still
unable to understand the source*


Any suggestion is welcome..

Sandeep

	[[alternative HTML version deleted]]

