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

Read pm10_conc data #3

Open
JonathanVandal opened this issue Dec 5, 2016 · 6 comments
Open

Read pm10_conc data #3

JonathanVandal opened this issue Dec 5, 2016 · 6 comments

Comments

@JonathanVandal
Copy link

JonathanVandal commented Dec 5, 2016

Hi, thanks for this great node module.

Could you tell me if it's possible and how can I get all the JSON of the pm10_conc variable ? I'm working on data air pollution.

It looks like this :

https://i.imgsafe.org/5691582954.png

There is 3 parameters to get the value :

Latitude.
Longitude.
Time.

If I use reader.getDataVariable('pm10_conc') I'll just get the result of the first cell.

I can send you my .nc file by email if you want.

@targos
Copy link
Member

targos commented Dec 5, 2016

/cc @maasencioh

@maasencioh
Copy link
Member

hello @JonathanVandal, please send me the file to [email protected] and I'll try to check it out 😄

@JonathanVandal
Copy link
Author

Mail sent. I'm waiting for your answer. Thanks.

@maasencioh
Copy link
Member

It's indeed a very strange case, because it's a record dimension variable, but the readen part it's really small, do you have the original data that should been readen?

@JonathanVandal
Copy link
Author

I have 6 700 000 data in my file. I tested in python and with another Node.js module and I can read all my data. And for the moment I'm trying to slice the array to get certain value in certain coordinates (lat/lng).

My data .nc are a 4 dimensional Array. One value in one cell (https://i.imgsafe.org/5691582954.png) is built with :

  1. Time : This array length is 24. It represent 24 hours (1 to 24)
  2. Level : This is the surface. In my case this will be always an array with length = 1 and value = 0
  3. Latitude : Array length = 400
  4. Longitude : Array length = 700

I don't have the readable data then I can't send you that. But you can read them with the Node.js module that I mentioned.

@maasencioh
Copy link
Member

hello @JonathanVandal , could you please check now? I think that #9 solves it. You can see it on this link if you want.

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