[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[THREDDS #OWM-361588]: Question about NCSS (NetCDF subset service) via THREDDS



Hi Jingtao,

Yes, that is an intended workflow. In fact, the "NCSS Request URL" box at the 
bottom of the page is meant to facilitate that usage. Note that the URL updates 
each time you select/deselect a variable or change a subsetting parameter. The 
reference documentation [1] also details how you might build up a request in a 
script.

Cheers,
Christian

[1] 
http://www.unidata.ucar.edu/software/thredds/current/tds/reference/NetcdfSubsetServiceReference.html


> Hi,
> 
> Rather than submit a subset request to a NetCDF dataset via THREDDS/NCSS
> interface,  can I do subset (e.g. temporal or spacial) through a script
> (e.g. Python)?  I am guessing that I just need to include the subset URL
> (e.g.
> http://140.90.91.156:8080/thredds/ncss/testAll/nwm.t00z.analysis_assim.forcing.tm00.conus.nc?var=V2D&north=52.8749&west=-133.5176&east=-60.4824&south=20.0725&disableProjSubset=on&horizStride=1&time_start=2018-02-01T00%3A00%3A00Z&time_end=2018-02-01T00%3A00%3A00Z&timeStride=1&addLatLon=true)
> 
> 
> ?in the script,  is that correct?  or can you give me an example?
> 
> ?Also I intend to do the same subset to a bunch of netCDF files in a
> script, is that possible??
> 
> 
> ?Thanks,
> Jingtao?


Ticket Details
===================
Ticket ID: OWM-361588
Department: Support THREDDS
Priority: Normal
Status: Closed
===================
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata 
inquiry tracking system and then made publicly available through the web.  If 
you do not want to have your interactions made available in this way, you must 
let us know in each email you send to us.