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

Question regarding downloading Cluster data #145

Open
ChaoGai72 opened this issue Jun 12, 2024 · 3 comments
Open

Question regarding downloading Cluster data #145

ChaoGai72 opened this issue Jun 12, 2024 · 3 comments

Comments

@ChaoGai72
Copy link

When I tried to run Example_1 in package, it reported wrongs saying that wrong happens in downloading URL with 'urlreadwrite_legacy'
I have double checked my account and password in datastore. In addition, I tried my account on another computer, it also reports the same wrong.
Also, I can download data with example codes showed on their website so I think it's not a problem about my network as it reported. I have no idea with how to tackle this problem. Thanks in advance!
image

@thomas-nilsson-irfu
Copy link
Member

Dear @ChaoGai72,

first a few questions:

  • Are you using the latest version of irfu-matlab (what is the status if you run git pull?), and which branch are you on? (master, devel, or some other one?)

If you are running on our master branch, if you change to our latest development branch devel is the problem still there?
(That is to say, change branch with $ git checkout devel, and make a pull to be sure its up to date $ git pull).

  • Which version of Matlab are you using?
    Some versions of Matlab does not have the new function webread() which is preferable over the old urlread().

@ChaoGai72
Copy link
Author

Thanks for reply.
I was using master branch and it was the latest version.
My Matlab version is 2024a.

After switching to latest devel branch, the problem is solved. However, many of the data are empty and then it reports wrong for later data processing. I consider it as a data problem but not the problem of code of Example_1.
image
image

@PajNath
Copy link

PajNath commented Sep 17, 2024

Hi,
I got exactly the same problem as @ChaoGai72, then I downloaded the caa_download from the del branch as well, and it worked for a few data.
Now, whataver spacecraft I tried to download (SC1, SC3 or SC4) or the year I get or very strange symbols while downloading and eventually nothing is downloaded, or it looks like it is downloaded I get a cdf file but they are all corrupted.
I've tried to look by myself what could be wrong or about the path, but I cannot find anything obvious.
I have the feeling something is wrong and have changed in the caa_download or the path to access the data?

My Matlab version is 2023a, trying to download CODIF and FGM data.
Could you please help?

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

3 participants