[gradsusr] [EXTERNAL] New subsetting of Merra-2 data

Adams, Jennifer M. (GSFC-610.2)[ADNET SYSTEMS INC] jennifer.m.adams at nasa.gov
Tue Jan 21 14:16:59 EST 2020


Hi, Antoine –
The GES DISC help desk has opened a ticket to help you resolve the issue your having using wget to download a list of URLs.

The problem of the new *.nc4.nc4 files being sufficiently different from the old *.SUB.nc files so that templating breaks … that is a different problem. I have an idea that may fix it, but it will require you to get a new list of URLs for the more recent MERRA-2 data subsets.

From the MERRA-2 dataset landing page, https://disc.gsfc.nasa.gov/datasets/M2T1NXSLV_5.12.4/summary?keywords=M2T1NXSLV.5.12.4, click on the “Subset / Get Data” link at the bottom of the Data Access options in the box on the right hand side of the page. That will pop open a dialog box for you to enter the constraints of your subset. Use the “Refine Date Range” accordion to specify the desired date range. Use the “Spatial Subset” and “Variables” accordions to choose your lat/lon domain and variable list. Then open the “Time of Day” accordion and select all 24 hours, from 00:30 through 23:30. Leave the “Grid” accordion with the default value of ‘None’, and change the “File Format” to ‘netCDF’.

The URLs that you get when you click on the green “Get Data” button should have “servername/daac-bin/OTF/HTTP_services” in the URL instead of “servername/opendap/”. Adding the Time of Day constraint to your subset and selecting all times so you get every time step is what redirects your request away from opendap to HTTP_services and should give you files that (a) have the familiar *SUB.nc naming convention, and (b) a structure that is compatible with the older subsets you have already downloaded so that templating will work properly.


Your URLs look something like this:

https://goldsmr4.gesdisc.eosdis.nasa.gov/daac-bin/OTF/HTTP_services.cgi?FILENAME=%2Fdata%2FMERRA2%2FM2T1NXSLV.5.12.4%2F2019%2F12%2FMERRA2_400.tavg1_2d_slv_Nx.20191231.nc4&FORMAT=bmM0Lw&BBOX=42.2%2C-5.5%2C51.2%2C8.2&TIME=2019-12-31T00%3A30%3A00%2F2019-12-31T23%3A30%3A59&LABEL=MERRA2_400.tavg1_2d_slv_Nx.20191231.SUB.nc&SHORTNAME=M2T1NXSLV&SERVICE=SUBSET_MERRA2&VERSION=1.02&DATASET_VERSION=5.12.4&VARIABLES=SLP%2CT10M%2CU50M%2CV50M

…instead of this:

https://goldsmr4.gesdisc.eosdis.nasa.gov/opendap/MERRA2/M2T1NXSLV.5.12.4/2019/12/MERRA2_400.tavg1_2d_slv_Nx.20191231.nc4.nc4?SLP[0:23][264:282][279:301],T10M[0:23][264:282][279:301],U50M[0:23][264:282][279:301],V50M[0:23][264:282][279:301],time,lat[264:282],lon[279:301]

I hope this explanation is clear and helps to resolve the incompatibility issues you’re having with the newer MERRA-2 subsets. Please let us know how it goes.
--Jennifer



--
Jennifer Miletta Adams
ADNET Systems, Inc.
NASA/GSFC, Code 610.2
Building 32, Room S159
(301) 614-6070


From: gradsusr <gradsusr-bounces at gradsusr.org> on behalf of Antoine Molin <amolin at plenr.fr>
Reply-To: GrADS Users Forum <gradsusr at gradsusr.org>
Date: Tuesday, January 21, 2020 at 11:02 AM
To: "gradsusr at gradsusr.org" <gradsusr at gradsusr.org>
Subject: [EXTERNAL] [gradsusr] New subsetting of Merra-2 data

Hi,

Nasa changed the way to get subsets of Merra-2 data, and that is a problem for me….


  *   First, i can’t succeed in getting one month of daily files with wget, under Windows, after downloading the links of these daily files…



  *   Then, these new files are *.nc4.nc4 files ; i was used to *.SUB.nc4 files, and wanted to mix these 2 kinds of  files ; but for a same subset, the file sizes are different !
  i got same names (using rename *.nc4  *. «  »   and   rename *.nc4  *.SUB.nc4), and can read these new files using xdfopen  (warning about the cachesize, but it is working) ;   but it is not possible to read mix files (using template in .ctl) with xdfopen .

Has anybody a solution ?

Thanks !


Antoine Molin
Etudes de vent PlenR
Tel : 09 67 06 77 23

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gradsusr.org/pipermail/gradsusr/attachments/20200121/35d9c295/attachment.html>


More information about the gradsusr mailing list