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

Json implementation of air.null.wind #2

Open
nishadhka opened this issue May 22, 2014 · 9 comments
Open

Json implementation of air.null.wind #2

nishadhka opened this issue May 22, 2014 · 9 comments

Comments

@nishadhka
Copy link

Hi,
Thank you very much for Tokyo air and earth wind application. Can you please point me, how to run a JSON implementation of Tokyo air app. I can't able to run postgres based implementation, it saying no data found if I am running

 node server.js 8080 postgres://postgres:postgres@localhost:5432/air http://www.kankyo.metro.tokyo.jp

while initial data scrapping it gives error of no data found, the url

http://www.kankyo.metro.tokyo.jp/p160.cgi?no2===1==2====2=

scrapping is subjected is linked to 'sorry no data found'.

I am looking forward to apply, air null wind map for high resolution gfs (from weather Research Forecast (WRF) model downscaling to 1 km resolution) wind data which is used in earth.null.wind application for a urban area.

I think, clean json implementation of earth.null.wind is overweight for a urban level visualization. Please help.

@evz
Copy link

evz commented Aug 26, 2015

Just figured this out. The URL you'll need to use when you invoke the server is: http://www.taiki.kankyo.metro.tokyo.jp/cgi-bin/bunpu1

So, the full command should be something like (depending on your PostgreSQL configuration):

node server.js 8080 postgres://postgres:@localhost:5432/air http://www.taiki.kankyo.metro.tokyo.jp/cgi-bin/bunpu1

@ferrbruno
Copy link

Just figured this out. The URL you'll need to use when you invoke the server is: http://www.taiki.kankyo.metro.tokyo.jp/cgi-bin/bunpu1

So, the full command should be something like (depending on your PostgreSQL configuration):

node server.js 8080 postgres://postgres:@localhost:5432/air http://www.taiki.kankyo.metro.tokyo.jp/cgi-bin/bunpu1

I've used this URL but still cant find data. I want to make some experiments on my localhost but still no luck getting data

@cambecc
Copy link
Owner

cambecc commented Mar 9, 2019

Looks like the Tokyo Metropolitan Environment Bureau recently redesigned their website. The new URL is here: http://www.taiki.kankyo.metro.tokyo.jp/taikikankyo/realtime/index.html
This means the code is broken now...

@ferrbruno
Copy link

ferrbruno commented Mar 11, 2019

Thanks @cambecc , your project is amazing!

Can you provide a topojson file so we can run this project locally for study? I think i can make some adaptations to ignore all the database stuff and just read the file.

I know the scrapping is a big part of the project but i'm mostly interested in the wind animations and how you made that run so smoothly.

@ferrbruno
Copy link

Idk how this is still working... Am I missing something?

@Netrvin
Copy link

Netrvin commented Mar 12, 2019

Thanks @cambecc , your project is amazing!

Can you provide a topojson file so we can run this project locally for study? I think i can make some adaptations to ignore all the database stuff and just read the file.

I know the scrapping is a big part of the project but i'm mostly interested in the wind animations and how you made that run so smoothly.

The topojson is here https://github.com/cambecc/air/blob/master/public/data/tokyo-topo.json .

@ferrbruno
Copy link

Thanks @cambecc , your project is amazing!
Can you provide a topojson file so we can run this project locally for study? I think i can make some adaptations to ignore all the database stuff and just read the file.
I know the scrapping is a big part of the project but i'm mostly interested in the wind animations and how you made that run so smoothly.

The topojson is here https://github.com/cambecc/air/blob/master/public/data/tokyo-topo.json .

Oh I wasn't clear, mb. I meant a file with wind data

@Netrvin
Copy link

Netrvin commented Mar 12, 2019

Thanks @cambecc , your project is amazing!
Can you provide a topojson file so we can run this project locally for study? I think i can make some adaptations to ignore all the database stuff and just read the file.
I know the scrapping is a big part of the project but i'm mostly interested in the wind animations and how you made that run so smoothly.

The topojson is here https://github.com/cambecc/air/blob/master/public/data/tokyo-topo.json .

Oh I wasn't clear, mb. I meant a file with wind data

You can use devtools to fetch data for test from https://air.nullschool.net . Meteorological data and topojson are loaded separately.

@ferrbruno
Copy link

Thanks @cambecc , your project is amazing!
Can you provide a topojson file so we can run this project locally for study? I think i can make some adaptations to ignore all the database stuff and just read the file.
I know the scrapping is a big part of the project but i'm mostly interested in the wind animations and how you made that run so smoothly.

The topojson is here https://github.com/cambecc/air/blob/master/public/data/tokyo-topo.json .

Oh I wasn't clear, mb. I meant a file with wind data

You can use devtools to fetch data for test from https://air.nullschool.net . Meteorological data and topojson are loaded separately.

Oh my, you're right. I didn't think about that lol. Thanks a lot @Netrvin

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

5 participants