[GeoNetwork-devel] About Harvesting Geonetwork 2.6.x

Hello all,

I’m Micho, I’m from Spain, and I’m a member of OSGeo-es, the Spanish Chapter of OSGeo.

We are currently developing a project and need to use GeoNetwork harvesting against Thredds servers. I am following the manual version 2.7 [1], however we have installed 2.6.4 and we are encountering problems when using the “Extract metadata discovery dataset using Unidata fragments”. Is it possible to harvesting using fragments from version 2.6.x?. The stylesheets that we are using we have obtained from the trunk, but they generate many errors when I installed in my Geonetwork version.

The ultimate intention is to obtain the bbox of the netCDF files from Geonetwork, we are investigating this.

Thanks.

[1] http://geonetwork-opensource.org/manuals/trunk/users/admin/harvesting/index.html

Micho Garcia
GIS Developer Artisan
http://michogarcia.org

Hi Micho,

The stylesheets in trunk won't work in 2.6.4 without modification, they
produce replacementGroup elements that are not supported by the fragment
harvesting code in that version.

I think thredds fragment harvesting is of limited use/benefit in 2.6.4
without the replacementGroup option. When I was looking to include the
Unidata Data Discovery stylesheets there I found I had to write the
stylesheet to generate one fragment - the complete metadata record - to
be able to cater for optional elements which was a little pointless.
Although I guess this is still useful if you can't do it any other way.

Another alternative may be to use ncISO to generate the iso metadata for
your files and then use the filesystem harvester to harvest these in
this version, although I haven't tried this myself.

The stylesheets in 2.7 (and I believe ncISO) generate a geospatial
extent for the netcdf file if the netcdf file includes the
geospatial_lat_min, geospatial_lat_max, geospatial_lon_min and
geospatial_lon_max
attributes defined in the NetCDF Attribute Convention for Dataset
Discovery conventions
(http://www.unidata.ucar.edu/software/netcdf-java/formats/DataDiscoveryAttConvention.html)

Regards,
--
Craig Jones
eMII Infrastructure Programmer
IMOS e-Marine Information Infrastructure Facility (eMII)
Ph: +61 3 6226 8567

On Wed, 2011-07-13 at 18:00 +0200, Micho wrote:

Hello all,

I'm Micho, I'm from Spain, and I'm a member of OSGeo-es, the Spanish
Chapter of OSGeo.

We are currently developing a project and need to use GeoNetwork
harvesting against Thredds servers. I am following the manual version
2.7 [1], however we have installed 2.6.4 and we are encountering
problems when using the "Extract metadata discovery dataset using
Unidata fragments". Is it possible to harvesting using fragments from
version 2.6.x?. The stylesheets that we are using we have
obtained from the trunk, but they generate many errors when I
installed in my Geonetwork version.

The ultimate intention is to obtain the bbox of the netCDF files from
Geonetwork, we are investigating this.

Thanks.

[1]
http://geonetwork-opensource.org/manuals/trunk/users/admin/harvesting/index.html

Micho Garcia
GIS Developer Artisan
http://michogarcia.org

------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric
Ries, the creator of the Lean Startup Methodology on "Lean Startup
Secrets Revealed." This video shows you how to validate your ideas,
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________ GeoNetwork-devel mailing list GeoNetwork-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geonetwork-devel GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

Thanks,

the first error we had was missing some templates called in the netcdf-attributes.xsl like getThreddsDateAsUTC. After comment this line to try run the harvester the following error was to replacementGroup elements.

We will try the version 2.7

Micho Garcia
GIS Developer Artisan
http://michogarcia.org

2011/7/14 Craig Jones <jonescc@anonymised.com>

Hi Micho,

The stylesheets in trunk won’t work in 2.6.4 without modification, they
produce replacementGroup elements that are not supported by the fragment
harvesting code in that version.

I think thredds fragment harvesting is of limited use/benefit in 2.6.4
without the replacementGroup option. When I was looking to include the
Unidata Data Discovery stylesheets there I found I had to write the
stylesheet to generate one fragment - the complete metadata record - to
be able to cater for optional elements which was a little pointless.
Although I guess this is still useful if you can’t do it any other way.

Another alternative may be to use ncISO to generate the iso metadata for
your files and then use the filesystem harvester to harvest these in
this version, although I haven’t tried this myself.

The stylesheets in 2.7 (and I believe ncISO) generate a geospatial
extent for the netcdf file if the netcdf file includes the
geospatial_lat_min, geospatial_lat_max, geospatial_lon_min and
geospatial_lon_max
attributes defined in the NetCDF Attribute Convention for Dataset
Discovery conventions
(http://www.unidata.ucar.edu/software/netcdf-java/formats/DataDiscoveryAttConvention.html)

Regards,

Craig Jones
eMII Infrastructure Programmer
IMOS e-Marine Information Infrastructure Facility (eMII)
Ph: +61 3 6226 8567

On Wed, 2011-07-13 at 18:00 +0200, Micho wrote:

Hello all,

I’m Micho, I’m from Spain, and I’m a member of OSGeo-es, the Spanish
Chapter of OSGeo.

We are currently developing a project and need to use GeoNetwork
harvesting against Thredds servers. I am following the manual version
2.7 [1], however we have installed 2.6.4 and we are encountering
problems when using the “Extract metadata discovery dataset using
Unidata fragments”. Is it possible to harvesting using fragments from
version 2.6.x?. The stylesheets that we are using we have
obtained from the trunk, but they generate many errors when I
installed in my Geonetwork version.

The ultimate intention is to obtain the bbox of the netCDF files from
Geonetwork, we are investigating this.

Thanks.

[1]
http://geonetwork-opensource.org/manuals/trunk/users/admin/harvesting/index.html

Micho Garcia
GIS Developer Artisan
http://michogarcia.org


AppSumo Presents a FREE Video for the SourceForge Community by Eric
Ries, the creator of the Lean Startup Methodology on “Lean Startup
Secrets Revealed.” This video shows you how to validate your ideas,
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________ GeoNetwork-devel mailing list GeoNetwork-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geonetwork-devel GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork