air icon indicating copy to clipboard operation
air copied to clipboard

Json implementation of air.null.wind

Open nishadhka opened this issue 10 years ago • 9 comments

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.

nishadhka avatar May 22 '14 10:05 nishadhka

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

evz avatar Aug 26 '15 00:08 evz

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

ferrbruno avatar Mar 07 '19 20:03 ferrbruno

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...

cambecc avatar Mar 09 '19 09:03 cambecc

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 avatar Mar 11 '19 13:03 ferrbruno

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

ferrbruno avatar Mar 11 '19 20:03 ferrbruno

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 .

Netrvin avatar Mar 12 '19 04:03 Netrvin

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

ferrbruno avatar Mar 12 '19 13:03 ferrbruno

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.

Netrvin avatar Mar 12 '19 14:03 Netrvin

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

ferrbruno avatar Mar 12 '19 14:03 ferrbruno