El Wednesday 28 June 2017, a les 08:57:51, Sean Arms va escriure:
> Greetings David,
>
> The string "Mixed_intervals" is generated in the method "
> getTimeIntervalName()" in ucar.coord.CoordinateTimeIntv (found in the grib
> module). Note that there is currently an error in the code when generating
> names for GRIB2 intervals (
> https://github.com/Unidata/thredds/issues/854#issuecomment-308305766).
>
> Ultimately, this method gets used in the makeVariableName* and
> makeVariableLongName methods found in ucar.nc2.grib.collection.Grib1Iosp
> and ucar.nc2.grib.collection.Grib2Iosp (both classes found in the grib
> module). These methods are also where the string "_Accumulation" gets added
> to the name.
Thank you sooooooo much, Sean!! Now I understand the code much better :-D
Cheers,
David
>
> Cheers,
>
> Sean
>
> On Wed, Jun 28, 2017 at 3:33 AM, David Gil <dgilo@xxxxxxxx> wrote:
> > Hi!
> >
> >
> >
> > I'm writing a webmap app to show grib files with TDS. To have control of
> > the wms layer names, I have made grib tables of my own with which I get
> > layer names like "11_105" instead of "Temperature_height_above_ground".
> >
> >
> >
> > The problem comes for example with Accumulated Precipitation, where I get
> > an extra string appended: "61_105_Mixed_intervals_Accumulation". I have
> > looked throughout the code for where does that
> > "_Mixed_intervals_Accumulation" come from for hours, but I haven't found
> > anything useful [1].
> >
> >
> >
> > Could you please point me to the places in the code that determine the wms
> > layer names? It is very important that I fully understand it, so that I
> > don't get any other surprises.
> >
> >
> >
> > Thank you in advance,
> >
> >
> > --
> >
> > David Gil Oliva
> >
> > Sección Informática
> >
> > Delegación Territorial Cataluña
> >
> > Teléfono: 93 882 30 58 (50822)
> >
> >
> >
> > [1] The string "Mixed_intervals_Accumulation" appears many times in
> > grib/src/main/resources/resources/grib1/grib1VarMap.xml and this file is
> > used in the class GribVariableRenamer, but this class is deprecated.
> >
> > _______________________________________________
> > NOTE: All exchanges posted to Unidata maintained email lists are
> > recorded in the Unidata inquiry tracking system and made publicly
> > available through the web. Users who post to any of the lists we
> > maintain are reminded to remove any personal information that they
> > do not want to be made public.
> >
> >
> > thredds mailing list
> > thredds@xxxxxxxxxxxxxxxx
> > For list information or to unsubscribe, visit:
> > http://www.unidata.ucar.edu/mailing_lists/
David Gil Oliva
Sección Informática
Delegación Territorial Cataluña
Teléfono: 93 882 30 58 (50822)