mpi-astronomy / gdr3apcal

Tool for Gaia DR3 astrophysical parameter re-calibration
https://mpi-astronomy.github.io/gdr3apcal
BSD 3-Clause "New" or "Revised" License
5 stars 1 forks source link

Non-downloading of the models #1

Closed YLastro closed 1 year ago

YLastro commented 2 years ago

Dear contributors,

Hello! I am trying to use gdr3apcal for the metallicity calibration of GAIA DR3, while every time when I am trying to run the quick start it always give me an error like this (both on Windows10/python 3.8 via Pycharm and on WSL (Ubuntu-20.04)/python3.8): image

I guess it is related to the issue of downloading the calibration model for the first time using it described on the file. I suppose that there might be some reasons causing the non-downloading of the models that make the problem. Would you mind giving me some advice? Could you tell me how should I initial the downloading?

mfouesneau commented 2 years ago

I cannot reproduce the issue. Can you provide a minimal example that creates the error?

YLastro commented 2 years ago

I cannot reproduce the issue. Can you provide a minimal example that creates the error?

Hello, here is what I input and get when I try to reproduce the examples on github:

ln3 1 ln3 2 ln5 ln67

The fake data is produced as the example, while the ln3 did not return any information about the model. I guess there is some problems with the definition of model that leads to the FileNotFoundError/NameError.

I am sure that I have installed scikit-learn, joblib and py-earth with the versions here:

joblib skl sklearnearth

Could you give me some suggestions?

mfouesneau commented 1 year ago

This should be fixed now. Note, however that the demo dataset is not currently accessible. only fake data or manually downloaded data will do.