[thredds] grib and netcdf with similar paths

Hello all,

I had I problem that I not sure if it a bug or it supposed to be this way.
First, I created a grib feature type using
<featureCollection name="cfsr_wind" featureType="GRIB" harvest="true" 
path="ncep/cfsr/wind">
        <metadata inherited="true">
          <serviceName>uteis</serviceName>
          <dataType>Grid</dataType>
          <dataFormat>GRIB-2</dataFormat>
        </metadata>
        ...
</featureCollection>
and everything worked great.

To increase the access speed I then created a spacial subset of the global grib 
files and saved everything in netcdf and added to the catalog with
<dataset name="cfsr_wind_nc" ID="ncep/cfsr/windnc" urlPath="ncep/cfsr/windnc">
        <metadata inherited="true">
          <serviceName>uteis</serviceName>
          <dataType>Grid</dataType>
          <dataFormat>NetCDF</dataFormat>
        </metadata>
        ...
</dataset>
Oddly the netcdf data worked perfectly with the opendap protocol but failed 
with the netcdfsubset and wms. I checked the logs and the netcdfsubset was 
trying to use InvDatasetFcGrib despite the data being in netcdf. When I changed 
the ID and urlPath to
<dataset name="cfsr_wind_nc" ID="ncepnc/cfsrnc/windnc" 
urlPath="ncepnc/cfsrnc/windnc">
all the protocols worked. 

Can I have a netcdf and grib feature collection with similar ID/urlPath?

Thank you.

Greetings

Marcelo Andrioni
 
"O emitente desta mensagem é responsável por seu conteúdo e endereçamento. Cabe 
ao destinatário cuidar quanto ao tratamento adequado. Sem a devida autorização, 
a divulgação, a reprodução, a distribuição ou qualquer outra ação em 
desconformidade com as normas internas do Sistema Petrobras são proibidas e 
passíveis de sanção disciplinar, cível e criminal."
 
"The sender of this message is responsible for its content and addressing. The 
receiver shall take proper care of it. Without due authorization, the 
publication, reproduction, distribution or the performance of  any other action 
not conforming to Petrobras System internal policies and procedures is 
forbidden and liable to disciplinary, civil or criminal sanctions."
 
"El emisor de este mensaje es responsable por su contenido y direccionamiento. 
Cabe al destinatario darle el tratamiento adecuado. Sin la debida autorización, 
su divulgación, reproducción, distribución o cualquier otra acción no conforme 
a las normas internas del Sistema Petrobras están prohibidas y serán pasibles 
de sanción disciplinaria, civil y penal."



  • 2014 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the thredds archives: