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

How to read a nc file ? #1

Open
szukiyu opened this issue Jun 10, 2018 · 6 comments
Open

How to read a nc file ? #1

szukiyu opened this issue Jun 10, 2018 · 6 comments

Comments

@szukiyu
Copy link

szukiyu commented Jun 10, 2018

I tried executing the program.
But I couldn’t read nc file of CMEMS Data Access Portal.

In SSTseq class, data is read as a .pkl file.
https://github.com/emited/flow/blob/master/flow/datasets/nc.py#L31

Could you tell me how to convert the .nc file to .pkl file ?

@andrewzm
Copy link

andrewzm commented Mar 3, 2019

Agree -- it would be good to have the pkl files for reproducibility, or else a set of instructions/source files to obtain the pkl files from the original source.

@chenxiaodanhit
Copy link

Hello, may i ask you if you successfully transform the nc file into the pkl file, I also have some troubles and hope to get your help. Many thanks!

@andrewzm
Copy link

andrewzm commented Apr 26, 2021 via email

@toddwyl
Copy link

toddwyl commented May 2, 2021

Is there any tips for preprocessing the nc file? @andrewzm @szukiyu @chenxiaodanhit

@andrewzm
Copy link

andrewzm commented May 2, 2021 via email

@toddwyl
Copy link

toddwyl commented May 3, 2021

I ended up extending this work to the more realistic case of when data are gappy and noisy, using a statistical modelling approach. I then illustrated our method on the same data set, so I preprocessed it. You can see all my code here: https://github.com/andrewzm/deepIDE The pre-processing is done in the folder 1_Preproc_data https://github.com/andrewzm/deepIDE/tree/master/1_Preproc_data ... in R I'm afraid! But the resulting data is in the arrays required for training your network, which can be easily exported and converted to some Python format if need be. If you are interested in the actual paper, see here: https://www.sciencedirect.com/science/article/pii/S2211675320300026

On Sun, 2 May 2021, 16:18 Wen YongLiang, @.***> wrote: Is there any tips for preprocessing the nc file? @andrewzm https://github.com/andrewzm @szukiyu https://github.com/szukiyu @chenxiaodanhit https://github.com/chenxiaodanhit — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#1 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABEU3LYY52B2ZGEUMSA6E3TLTVBPANCNFSM4FEGYPAQ .

Thanks a lot!

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