My goal is to get the daily wind data from nomads, so I set the grib filter 10m above the ground with and got the url, tried to fetch on js, the response was ok but with empty data, I tried also with axios but always empty data:
function getWindData() {
const opendapURL =
"http://nomads.ncep.noaa.gov:80/dods/gfs_1p00/gfs20230814/gfs_1p00_00z";
const gribFilterURL = "https://nomads.ncep.noaa.gov/cgi-bin/filter_gfs_1p00.pl?dir=%2Fgfs.20230814%2F06%2Fatmos&file=gfs.t06z.pgrb2.1p00.anl&var_UGRD=on&var_VGRD=on&all_lev=on";
fetch(opendapURL)
.then((data) => {
console.log(data)
});
}
Then I tried openDAP and here basically I got the full html page but I can't understand how to access the field I need. I think it's very strange that it's so difficult access this data, but I didn't found anything on google too.