Closed Tasilee closed 4 years ago
Scratch that, deleting the layer and trying again.
Metadata: I asked Hamish (who was involved in the meetings) to see if he could get some but have not got a response as yet.
Thanks Lee, let me know when the metadata is available to continue the loading process:
https://nectar-spatial-staging.ala.org.au/ws/manageLayers/layer/10953
Metadata provided by Hamish at the same time as he blocked further progress on this on strategic grounds while the spatial layer management problem bubbles through.
When this rises back to the top again, the metadata is available from:
Hamish reversed his decision, so this is back on for loading again as a priority.
Deleting the previous staged layer as the website above provides a newer version with a revision date of 2020-03-23
where the previous staged layer had 2020-02-24
as its revision date.
The shapefile contains a single MULTIPOLYGON
, with the label 0
. Queries on this version will need to select the entire multipolygon as one search filter, but other search filters in biocache can be applied on top of it.
New version of the staged layer is at:
https://nectar-spatial-staging.ala.org.au/ws/manageLayers/layer/10954
Loading the field for it now...
The field creation dialog didn't recognise any field ids from the shapefile (or it is filtering out the Id
field that is present), and the field creation failed to do anything (no errors in the web interface or the server logs.............. at all...........).
Will modify the shapefile locally to add a label field to the shapefile for the polygon and try the loading process again.
Adding a label column (text type, instead of integer as the Id
column has) is still failing to show up any source columns in the field creation process, which is still failing.
https://nectar-spatial-staging.ala.org.au/ws/manageLayers/layer/10955
That is the end of my knowledge of debugging for the layer-loading system.
Thanks @ansell ...I'll call for help @adam-collins
https://nectar-spatial-staging.ala.org.au/?layers=cl10955
Loaded on nectar-spatial-staging
@adam-collins What was the key to getting the label
field to show up?
@ansell This layer load only required more time. When I attempted to create the field, after you created the layer, sufficient time had passed and the label
dropdown was available for use.
If I recall correctly, the LayerCreation
process must be finished before a field
can be created. This should involve not much more than a gdalwarp
and loading into Geoserver. Larger and more complex layers will take longer.
@adam-collins Thanks, I will add a new task to the list to check the task queue before clicking "Create Field".
I had previously presumed that when it was possible to "Create Field", that the layer load would be complete at that point.
@adam-collins This load is blocked by the field not being populated in solr, although it is in the solr schema. Our regular Complete Reindex job has been wiping out the /data/solr/biocache/conf
directory, as was required by the workaround for the previous issue where this was reported:
https://github.com/AtlasOfLivingAustralia/biocache-store/issues/315
cl10955
isn't showing up for me in https://biocache-ws.ala.org.au/ws/index/fields
. There is another Complete Reindex
job running now, will see if it appears after that completes.
We are still missing the layer in the SP's Tabulation tool, so it looks like the cross-tabulation process has not been run, or stopped, or still running?
@Tasilee Fixing cross-tabulation for layer loading is an open issue. The last advice I had from @adam-collins was to not check the tick box for it during loading.
Thanks @ansell. I'll prod @adam-collins to tick and go :)
The issue previously was with very complex layers, and the process not completing months after starting it. This fire footprint layer is possibly the most complex layer we have loaded. It may not just be a case of ticking the box.
:) I seem to remember Adam mentioning looking at point intersection processing efficiencies...and this is a candidate to check reality.
This layer is of most benefit with the cross-tabulation intersections done.
This area has been requested by a number of scientists for the evaluation of the impacts of this fire season. Ideally, tabulating it with the other contextuals would be nice. This would enable evaluations such as the impact of the fires on CAPAD areas.
Investigation and approval
Loading the layer
Once layer loading has been approved, the following are the steps required to load, integrate, and test it.
http://www.environment.gov.au/fed/catalog/search/resource/details.page?uuid=%7B9ACDCB09-0364-4FE8-9459-2A56C792C743%7D
MULTIPOLYGON
withId=0
as a field attached to it. Loading this failed, so created a new field for the single row withlabel='0'
(text type, rather than numeric), still failed, Adam fixed it manually without saying how)Create layer
https://nectar-spatial-staging.ala.org.au/ws/manageLayers/layer/10955
https://nectar-spatial-staging.ala.org.au/ws/manageLayers/field/cl10955
https://nectar-spatial-staging.ala.org.au/ws/tasks/create?name=Thumbnails
${FIELD_ID}-intersection-output
:Intersection worked, giving the expected value of
0
:Complete Process and Sample
jenkins job onaws-scjenkins
http://aws-scjenkins.ala:9193/job/Complete%20Process%20and%20Sample/
(Or wait for the weekly automated job)Complete Reindex
onaws-scjenkins
http://aws-scjenkins.ala:9193/job/Complete%20Indexing/job/MASTER%20-%20Complete%20Re-index/
(Or wait for the next automated job after the Complete Reprocess)cl
value (individual record displays are sourced from cassandra)https://biocache.ala.org.au/occurrences/search?q=cl10955%3A*
and then chosehttps://biocache.ala.org.au/occurrences/5af76b09-e010-4f19-a17f-64432f5080f1
cl
value succeed (search results are sourced from solr)https://biocache.ala.org.au/occurrences/search?q=cl10955%3A*
/ws/index/fields
calls, noting that calls to/ws/index/fields
on different servers are known to be inconsistent. https://github.com/AtlasOfLivingAustralia/biocache-service/issues/263