zhaokg / Rbeast

Bayesian Change-Point Detection and Time Series Decomposition
208 stars 36 forks source link

besat_123_example.txt runing wrong #18

Closed HowinMa closed 6 months ago

HowinMa commented 10 months ago

Hi, Mr,zhao. When I run the code 'Update beast123_raster_example.txt' in R , the line 11 which is 'ndvi3d = stack(filelist)', it's always report a error'Error in data.frame(values = unlist(unname(x)), ind, stringsAsFactors = FALSE) : Parameter values mean different number of rows: 437, 0'' Would you like to Work out this error? I do not know if it my operation error or something else. Waiting for your reply.

zhaokg commented 10 months ago

Appreciate the feedback and sorry for the error. For that example, the raster package is needed to load a list of Tiff image files. 'stack' is also a function from raster. Please run "library(raster)" before running the example. Please also see the updated script file.

Thanks again for letting me know the issue.

HowinMa commented 10 months ago

Thanks for your reply,The following error has alredy fixed. But there is a another error occoured in line 45 " o=beast123(Y, metadata=metadata,extra=extra) # Default values used for missing parameters " ,which error report:"Error in beast123(Y) : object 'BEASTV4_rexFunction' not found"..... Sorry to borther you again. Your theories and methods are of great significance to the development of our research. Looking for your reply

dirt commented 10 months ago

Which OS do you use? Windows, Linux or Mac?

Kai

From: HowinMa @.> Sent: Monday, August 28, 2023 11:40 PM To: zhaokg/Rbeast @.> Cc: Subscribed @.***> Subject: Re: [zhaokg/Rbeast] besat_123_example.txt runing wrong (Issue #18)

Thanks for your reply,The following error has alredy fixed. But there is a another error occoured in line 45 " o=beast123(Y, metadata=metadata,extra=extra) # Default values used for missing parameters " ,which error report: "Error in beast123(Y)

Thanks for your reply,The following error has alredy fixed. But there is a another error occoured in line 45 " o=beast123(Y, metadata=metadata,extra=extra) # Default values used for missing parameters " ,which error report:"Error in beast123(Y) : object 'BEASTV4_rexFunction' not found"..... Sorry to borther you again. Your theories and methods are of great significance to the development of our research. Looking for your reply

— Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/zhaokg/Rbeast/issues/18*issuecomment-1696720079__;Iw!!KGKeukY!3XAZKEAdpKLYwA2fSrNjppJ9hxZH8JlKFAvV8kvod2p27OitOK05GPFI-_J0-HznAOzo8hauMNepFo3qXebTA4aKrC16$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/AMCAGWWLI33GETV6DMRDEODXXVQCXANCNFSM6AAAAAA4BQUOYI__;!!KGKeukY!3XAZKEAdpKLYwA2fSrNjppJ9hxZH8JlKFAvV8kvod2p27OitOK05GPFI-_J0-HznAOzo8hauMNepFo3qXebTA3uqfQaG$. You are receiving this because you are subscribed to this thread.Message ID: @.**@.>>

HowinMa commented 10 months ago

Windows

dirt commented 10 months ago

I can’t reproduce the error on my end. I will recompile a new version for you to install. Give me a few minutes.

Kai

From: HowinMa @.> Sent: Monday, August 28, 2023 11:51 PM To: zhaokg/Rbeast @.> Cc: Zhao, Kaiguang @.>; Comment @.> Subject: Re: [zhaokg/Rbeast] besat_123_example.txt runing wrong (Issue #18)

Windows — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented. Message ID: zhaokg/Rbeast/issues/18/1696725766@ github. com ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍

Windows

— Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/zhaokg/Rbeast/issues/18*issuecomment-1696725766__;Iw!!KGKeukY!zNwu17hqNkHxm8gqcSBJf95n2Z_YIyeAJunk2iAf3niARaUrPw8IReR1-ezH1E-ic5feF1ClrU1pelRiiVCIaSdJCthF$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/AMCAGWSEYMXCH4I65T6OKCDXXVRLNANCNFSM6AAAAAA4BQUOYI__;!!KGKeukY!zNwu17hqNkHxm8gqcSBJf95n2Z_YIyeAJunk2iAf3niARaUrPw8IReR1-ezH1E-ic5feF1ClrU1pelRiiVCIae2upg3J$. You are receiving this because you commented.Message ID: @.**@.>>

HowinMa commented 10 months ago

Tanks for a lot. Professor Zhao

dirt commented 10 months ago

Here is a new version; it has been uploaded the github. Use the script below to first uninstall the old version, if any, and install the new version from the posted zip file.

unloadNamespace('Rbeast') # just in case that Rbeast was loaded detach(package:Rbeast,unload=T) # it is Ok if reporing error remove.packages("Rbeast") # it is Ok if reporing error install.packages(https://github.com/zhaokg/Rbeast/raw/master/R/Rbeast_1.0.0.zip, repos = NULL)

Please let me know how it works.

Kai

From: Zhao, Kaiguang Sent: Monday, August 28, 2023 11:50 PM To: zhaokg/Rbeast @.>; zhaokg/Rbeast @.> Cc: Subscribed @.***> Subject: RE: [zhaokg/Rbeast] besat_123_example.txt runing wrong (Issue #18)

Which OS do you use? Windows, Linux or Mac?

Kai

From: HowinMa @.**@.>> Sent: Monday, August 28, 2023 11:40 PM To: zhaokg/Rbeast @.**@.>> Cc: Subscribed @.**@.>> Subject: Re: [zhaokg/Rbeast] besat_123_example.txt runing wrong (Issue #18)

Thanks for your reply,The following error has alredy fixed. But there is a another error occoured in line 45 " o=beast123(Y, metadata=metadata,extra=extra) # Default values used for missing parameters " ,which error report: "Error in beast123(Y)

Thanks for your reply,The following error has alredy fixed. But there is a another error occoured in line 45 " o=beast123(Y, metadata=metadata,extra=extra) # Default values used for missing parameters " ,which error report:"Error in beast123(Y) : object 'BEASTV4_rexFunction' not found"..... Sorry to borther you again. Your theories and methods are of great significance to the development of our research. Looking for your reply

— Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/zhaokg/Rbeast/issues/18*issuecomment-1696720079__;Iw!!KGKeukY!3XAZKEAdpKLYwA2fSrNjppJ9hxZH8JlKFAvV8kvod2p27OitOK05GPFI-_J0-HznAOzo8hauMNepFo3qXebTA4aKrC16$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/AMCAGWWLI33GETV6DMRDEODXXVQCXANCNFSM6AAAAAA4BQUOYI__;!!KGKeukY!3XAZKEAdpKLYwA2fSrNjppJ9hxZH8JlKFAvV8kvod2p27OitOK05GPFI-_J0-HznAOzo8hauMNepFo3qXebTA3uqfQaG$. You are receiving this because you are subscribed to this thread.Message ID: @.**@.>>

HowinMa commented 10 months ago

Dear Professor Zhao. After your updated, code runing successful!!! Thanks once more.

beast123

zhaokg commented 6 months ago

Dear HowinMa , THanks again for reporting the issue. Now I will close this ticket.

Kaiguang