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

Add new dataset #3

Open
syys96 opened this issue Nov 9, 2021 · 1 comment
Open

Add new dataset #3

syys96 opened this issue Nov 9, 2021 · 1 comment

Comments

@syys96
Copy link

syys96 commented Nov 9, 2021

Thank you for the great work! I want to use this package to visualize the Wind and ACE data, what interface/function do I need to implement? Any comment will be appreciated.

@JouleCai
Copy link
Owner

Hi,

Sorry for my delayed reply.

It's very nice to hear that you're interested in using the package. For the moment, using the datasets which have been already added to the package is easier than adding a new dataset without well-described documentation (an ongoing process). Due to my workflow, I have no plan to add the ACE or WIND data. Could you please provide the online sources for those data? I can check and evaluate how much work I need to add the data. The basic idea is that we can download and load the data automatically as long as the inputs are correctly set up.

But still, you can append the ACE or WIND dataset to the package by writing a Dataset class that inherits from DatasetModel (geospacelab.datahub.dataset_base.DatasetModel). The parent class (DatasetModel) has several basic methods, such as adding a variable ('add_variable') and searching a data file ('search_data_files'). You can utilize those methods and add your own methods to load ace data in this class. You can add the child dataset to datahub by datahub.add_dataset().

I wish I can write the full documentary as soon as possible, so that you can refer to the document.

If possible, we can have a discussion at some time. Just tell me your opinion.

Best regards,
Lei

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

2 participants