R-ArcGIS / r-bridge

Bridge library to connect ArcGIS and R, including arcgisbinding R library.
Apache License 2.0
119 stars 26 forks source link

Time Series Decomposition Using Functional Data Analysis #63

Open Yaw1517 opened 2 years ago

Yaw1517 commented 2 years ago

Hello,

I'm using Jupiter notebook in conjuction with ArcGIS Pro 2.5 I am trying to run read in the time-series mosaic that contains the predicted temperature profiles, but always giving me errors below are the codes

INITIALIZE CONNECTION WITH ARCGIS PRO arc.check_product() Define the location for GDB containing rasters r <- arc.open('C:/CAnalysis/p20/Default.gdb/temp_time_series')

Read In Time Series Mosaic Times forecast_times <- arc.select(r) forecast_times <- as.Date(forecast_times$StdTime) pls any help will be appreciated Screenshot (8)

scdub commented 2 years ago

@Yaw1517 thanks for your report. Are you able to open other data sources with arc.open, like this example dataset?

filename <- system.file("extdata", "ca_ozone_pts.shp",
                          package="arcgisbinding")
d <- arc.open(filename)
cat('all fields:', names(d@fields), fill = TRUE) # print all fields

It possibly could be a path issue — your text says 'C:/CAnalysis/p20/Default.gdb/temp_time_series' but the screenshot shows C:/ClimateAnalysis/p10/Default.gdb/temp_time_series'.

Yaw1517 commented 2 years ago

Hi sir , Thanks for the reply,

No please I'm still not able to open other data source with arc open and still having the same problem Screenshot (9) )

Yaw1517 commented 2 years ago

@Yaw1517 thanks for your report. Are you able to open other data sources with arc.open, like this example dataset?

filename <- system.file("extdata", "ca_ozone_pts.shp",
                          package="arcgisbinding")
d <- arc.open(filename)
cat('all fields:', names(d@fields), fill = TRUE) # print all fields

It possibly could be a path issue — your text says 'C:/CAnalysis/p20/Default.gdb/temp_time_series' but the screenshot shows C:/ClimateAnalysis/p10/Default.gdb/temp_time_series'. Hi sir , Thanks for the reply,

No please I'm still not able to open other data source with arc open and still having the same problem Screenshot (9)

scdub commented 2 years ago

@Yaw1517 were you able to address this issue? If not, I would see if it works outside of a notebook environment in a direct R session to help separate out possible DLL loading issues.