Use API in matlab
36 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hello, I want to integrate matlab with the api of power nasa. I search but I didn'f find information.
The link is this
I want to put the data in a matrix, so if someone know how tell me please.
Thank you.
0 Kommentare
Antworten (1)
Rik
am 19 Apr. 2021
You're in luck: NASA decided to provide the data in JSON, and Matlab can parse that JSON output for you:
url='https://power.larc.nasa.gov/cgi-bin/v1/DataAccess.py?&request=execute&tempAverage=CLIMATOLOGY&identifier=SinglePoint¶meters=T2M&userCommunity=SB&lon=0&lat=0&outputList=JSON&user=DOCUMENTATION';
data=webread(url);
data.header
0 Kommentare
Siehe auch
Kategorien
Mehr zu JSON Format finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!