Skip to content
This repository has been archived by the owner on Sep 1, 2022. It is now read-only.

Enable configuration of NCSS default return format #162

Open
lesserwhirls opened this issue Aug 28, 2015 · 8 comments
Open

Enable configuration of NCSS default return format #162

lesserwhirls opened this issue Aug 28, 2015 · 8 comments

Comments

@lesserwhirls
Copy link
Collaborator

lesserwhirls commented Aug 28, 2015

Request from e-support (IXK-105791):

Please allow a NetCDF Subset Service (NCSS) config option (set via
threddsConfig.xml or a "new" ncssConfig.xml) to allow specifying
"netcdf4" as the default output format (if other is not specified via
custom URL or via web form drop-down). Since all these netcdf files
are created/cached/delivered via the NCSS servers, the netcdf v4
compression benefits will significantly cut down on caching space
(server side) and reduce the file size sent back to the users
(reducing network traffic).

@lesserwhirls lesserwhirls self-assigned this Aug 28, 2015
@lesserwhirls lesserwhirls added this to the v4.6.4 milestone Aug 28, 2015
@lesserwhirls
Copy link
Collaborator Author

We could add this configuration option to the NCSS config section in threddsConfig.xml:

<NetcdfSubsetService> 
  <allow>false</allow> 
  <dir>(see the note below)</dir> 
  <scour>15 min</scour> 
  <maxAge>30 min</maxAge> 
  <maxFileDownloadSize>300 MB</maxFileDownloadSize> 
</NetcdfSubsetService> 

We could add something like <NcssGridReturnDefault>to allow the user to set the default accept type. We could also do a <NcssPointReturnDefault> for Point Features and Grid as Point requests while we're at it.

I'd say in 4.6.x we set the default to netCDF-3 to keep the expected behavior by default. In 5.0, I'd say we go with netCDF-4 by default.

@JohnLCaron
Copy link
Collaborator

note ncss significantly rewritten in 5.0

@lesserwhirls
Copy link
Collaborator Author

Let's just add this to 5.0.

@lesserwhirls lesserwhirls modified the milestones: v5.0.0, 4.6.4 Release Feb 8, 2016
@JohnLCaron
Copy link
Collaborator

I dont know why they need a default option. Whats wrong with specifying the
desired return type?

But agree if its added, should be in 5.

On Mon, Feb 8, 2016 at 12:30 PM, Sean Arms [email protected] wrote:

Let's just add this to 5.0.


Reply to this email directly or view it on GitHub
#162 (comment).

@dopplershift
Copy link
Member

It's useful so that every user going to the web form doesn't have to manually select netcdf4--especially when you know what your user community is going to want.

@lesserwhirls
Copy link
Collaborator Author

Is the default return netCDF-4 in 5.0? The idea came from a user who wanted
to be able to set netCDF-4 as the default in order to take advantage of
compression, and, as Ryan said, this was in the context of the web form
interface.

On Mon, Feb 8, 2016 at 2:00 PM, Ryan May [email protected] wrote:

It's useful so that every user going to the web form doesn't have to
manually select netcdf4--especially when you know what your user community
is going to want.


Reply to this email directly or view it on GitHub
#162 (comment).

@JohnLCaron
Copy link
Collaborator

who is the request from?

On Mon, Feb 8, 2016 at 2:00 PM, Ryan May [email protected] wrote:

It's useful so that every user going to the web form doesn't have to
manually select netcdf4--especially when you know what your user community
is going to want.


Reply to this email directly or view it on GitHub
#162 (comment).

@JohnLCaron
Copy link
Collaborator

especially when you know what your user community is going to want.

ok, i agree, its reasonable to let admins configure their own tds

On Mon, Feb 8, 2016 at 2:41 PM, Sean Arms [email protected] wrote:

Is the default return netCDF-4 in 5.0? The idea came from a user who wanted
to be able to set netCDF-4 as the default in order to take advantage of
compression, and, as Ryan said, this was in the context of the web form
interface.

On Mon, Feb 8, 2016 at 2:00 PM, Ryan May [email protected] wrote:

It's useful so that every user going to the web form doesn't have to
manually select netcdf4--especially when you know what your user
community
is going to want.


Reply to this email directly or view it on GitHub
#162 (comment).


Reply to this email directly or view it on GitHub
#162 (comment).

@lesserwhirls lesserwhirls modified the milestones: 5.0-workshop, v5.0.0 Jul 8, 2016
@lesserwhirls lesserwhirls modified the milestones: TDS-5.0-workshop, TDS v5.0.0 Sep 16, 2016
@lesserwhirls lesserwhirls modified the milestones: TDS v5.0.0 beta, TDS 5.0.0 Sep 16, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants