Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error accessing E-OBS data #93

Open
jesusff opened this issue Apr 11, 2024 · 8 comments
Open

Error accessing E-OBS data #93

jesusff opened this issue Apr 11, 2024 · 8 comments
Assignees

Comments

@jesusff
Copy link
Member

jesusff commented Apr 11, 2024

Message transferred from email inquiry from M. Rodrigues:

I've encountered another problem when running:

di <- dataInventory(eobsNcML)

> eobsNcML
[1] "http://opendap.knmi.nl/knmi/thredds/dodsC/e-obs_0.25regular/rr_0.25deg_reg_v17.0.nc"

I get the following error:

[2024-04-11 00:13:13.802706] Doing inventory ...
Error in .jcall("RJavaTools", "Ljava/lang/Object;", "invokeMethod", cl,  : 
  java.lang.NullPointerException: Cannot invoke "org.apache.http.client.methods.CloseableHttpResponse.close()" because "closeableHttpResponse" is null

I have followed the instructions from the Supplement of "Iberia01: a new gridded dataset of daily precipitation and temperatures over Iberia".

My system and R info are:

R version 4.3.2 (2023-10-31)
Platform: aarch64-apple-darwin20 (64-bit)
Running under: macOS Ventura 13.2.1

The climate4R package versions are:

other attached packages:

[1] loadeR_1.8.1       convertR_0.2.1     transformeR_2.2.2  visualizeR_1.6.4  
[5] RColorBrewer_1.1-3 rJava_1.0-11  

Has anyone encountered this problem before and how to solve it?

Thank you for your time.

Kind regards,

Miguel

@jesusff
Copy link
Member Author

jesusff commented Apr 11, 2024

It seems that the KNMI server is down at the moment: http://opendap.knmi.nl

@jesusff
Copy link
Member Author

jesusff commented Apr 11, 2024

You can access E-OBS data as a climate4R "local" dataset (see #65 )

@msirodrigues
Copy link

After trying to open observation:

#9 E-OBS_v17_0.25regular observation https://data.meteo.unican.es/thredds/dodsC/eobs/e-obs_v17_0.25regular.ncml

eobsNcML_repo <- "https://data.meteo.unican.es/thredds/dodsC/eobs/e-obs_v17_0.25regular.ncml"

I get the following error:

[2024-04-11 10:22:55.735335] Doing inventory ...
[2024-04-11 10:22:56.521254] Opening dataset...
Error in .jcall("RJavaTools", "Ljava/lang/Object;", "invokeMethod", cl, :
java.io.IOException: https://data.meteo.unican.es/thredds/dodsC/eobs/e-obs_v17_0.25regular.ncml is not a valid URL, return status=400

@jesusff
Copy link
Member Author

jesusff commented Apr 22, 2024

ping @cofinoa @zequihg50

@zequihg50
Copy link
Member

@msirodrigues Could you try again? This is working for me. Also, this is a protected dataset, remember to call loginUDG before accesing the dataset.

@msirodrigues
Copy link

@zequihg50 the credentials are set with success, it is only when I try to open the dataset that the error occurs. Do I need to join a specific group in https://data.meteo.unican.es/udg-tap/home to have access to the dataset? Thank you.

@zequihg50
Copy link
Member

@msirodrigues Yes, you should have access now to the dataset.

@msirodrigues
Copy link

@zequihg50 thank you, just managed to access it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants