Errors when using wget to download MERR2 data
Posted: Fri May 05, 2023 4:39 pm America/New_York
Hi y'all,
I've been trying to download subsets of the MERRA2 data (selecting the U2M and V2M variables) through OPeNDAP (following along with this resource: https://daac.gsfc.nasa.gov/information/howtotitle=How%20to%20Obtain%20Data%20in%20NetCDF%20Format%20via%20OPeNDAP). I have made sure to generate the prerequisite Earthdata files (according to this source: https://disc.gsfc.nasa.gov/information/howto?title=How%20to%20Generate%20Earthdata%20Prerequisite%20Files) and double checked for errors (using this source: https://daac.gsfc.nasa.gov/information/howto?title=How%20To%20resolve%20data%20download%20problems).
I am working on a MacOSX BigSur computer and I have been successfully able to download the example data, SeaWiFS Deep Blue Aerosol Level3 gridded daily at 1x1 degree resolution that was included in the tutorial (https://daac.gsfc.nasa.gov/information/howtotitle=How%20to%20Obtain%20Data%20in%20NetCDF%20Format%20via%20OPeNDAP). However, when I try to input my own opendap url (https://goldsmr4.gesdisc.eosdis.nasa.gov/opendap/hyrax/MERRA2/M2T1NXSLV.5.12.4/2010/01/MERRA2_300.tavg1_2d_slv_Nx.20100101.nc4?U2M[0:1:23][0:1:360][0:1:575]), my download fails.
I run the following line:
wget --load-cookies ~/.urs_cookies --save-cookies ~/.urs_cookies --keep-session-cookies https://goldsmr4.gesdisc.eosdis.nasa.gov/opendap/hyrax/MERRA2/M2T1NXSLV.5.12.4/2010/01/MERRA2_300.tavg1_2d_slv_Nx.20100101.nc4?U2M[0:1:23][0:1:360][0:1:575]
And get the following:
--2023-05-05 13:38:37-- https://goldsmr4.gesdisc.eosdis.nasa.gov/opendap/hyrax/MERRA2/M2T1NXSLV.5.12.4/2010/01/MERRA2_300.tavg1_2d_slv_Nx.20100101.nc4?U2M[0:1:23][0:1:360][0:1:575]
Resolving goldsmr4.gesdisc.eosdis.nasa.gov (goldsmr4.gesdisc.eosdis.nasa.gov)... 2001:4d0:241a:4041::95, 198.118.197.95
Connecting to goldsmr4.gesdisc.eosdis.nasa.gov (goldsmr4.gesdisc.eosdis.nasa.gov)|2001:4d0:241a:4041::95|:443... failed: Network is unreachable.
Connecting to goldsmr4.gesdisc.eosdis.nasa.gov (goldsmr4.gesdisc.eosdis.nasa.gov)|198.118.197.95|:443... connected.
HTTP request sent, awaiting response... 403 403
2023-05-05 13:38:44 ERROR 403: 403
Could someone help me figure out where I am going wrong?
Thanks so much!
I've been trying to download subsets of the MERRA2 data (selecting the U2M and V2M variables) through OPeNDAP (following along with this resource: https://daac.gsfc.nasa.gov/information/howtotitle=How%20to%20Obtain%20Data%20in%20NetCDF%20Format%20via%20OPeNDAP). I have made sure to generate the prerequisite Earthdata files (according to this source: https://disc.gsfc.nasa.gov/information/howto?title=How%20to%20Generate%20Earthdata%20Prerequisite%20Files) and double checked for errors (using this source: https://daac.gsfc.nasa.gov/information/howto?title=How%20To%20resolve%20data%20download%20problems).
I am working on a MacOSX BigSur computer and I have been successfully able to download the example data, SeaWiFS Deep Blue Aerosol Level3 gridded daily at 1x1 degree resolution that was included in the tutorial (https://daac.gsfc.nasa.gov/information/howtotitle=How%20to%20Obtain%20Data%20in%20NetCDF%20Format%20via%20OPeNDAP). However, when I try to input my own opendap url (https://goldsmr4.gesdisc.eosdis.nasa.gov/opendap/hyrax/MERRA2/M2T1NXSLV.5.12.4/2010/01/MERRA2_300.tavg1_2d_slv_Nx.20100101.nc4?U2M[0:1:23][0:1:360][0:1:575]), my download fails.
I run the following line:
wget --load-cookies ~/.urs_cookies --save-cookies ~/.urs_cookies --keep-session-cookies https://goldsmr4.gesdisc.eosdis.nasa.gov/opendap/hyrax/MERRA2/M2T1NXSLV.5.12.4/2010/01/MERRA2_300.tavg1_2d_slv_Nx.20100101.nc4?U2M[0:1:23][0:1:360][0:1:575]
And get the following:
--2023-05-05 13:38:37-- https://goldsmr4.gesdisc.eosdis.nasa.gov/opendap/hyrax/MERRA2/M2T1NXSLV.5.12.4/2010/01/MERRA2_300.tavg1_2d_slv_Nx.20100101.nc4?U2M[0:1:23][0:1:360][0:1:575]
Resolving goldsmr4.gesdisc.eosdis.nasa.gov (goldsmr4.gesdisc.eosdis.nasa.gov)... 2001:4d0:241a:4041::95, 198.118.197.95
Connecting to goldsmr4.gesdisc.eosdis.nasa.gov (goldsmr4.gesdisc.eosdis.nasa.gov)|2001:4d0:241a:4041::95|:443... failed: Network is unreachable.
Connecting to goldsmr4.gesdisc.eosdis.nasa.gov (goldsmr4.gesdisc.eosdis.nasa.gov)|198.118.197.95|:443... connected.
HTTP request sent, awaiting response... 403 403
2023-05-05 13:38:44 ERROR 403: 403
Could someone help me figure out where I am going wrong?
Thanks so much!