Opened 10 years ago

Closed 10 years ago

#698 closed enhancement (fixed)

petascope_insertdemo.sh improvement

Reported by: Dimitar Misev Owned by: Piero Campalani
Priority: trivial Milestone: 9.0.x
Component: petascope Version: development
Keywords: Cc:
Complexity: Trivial

Description

If the demo collection already exists in rasdaman but the coverage data is not inserted, then this shouldn't fail but just insert the metadata.

On successful run, I get this output:

petascope_insertdemo.sh: postgres settings read from /home/dimitar/projects/rasdaman/community/install/etc/petascope.properties
petascope_insertdemo.sh:   user: petauser
petascope_insertdemo.sh:   port: 5432
petascope_insertdemo.sh:   db: petascopedb
petascope_insertdemo.sh: rasdaman settings
petascope_insertdemo.sh:   user: rasadmin
petascope_insertdemo.sh:   host: localhost
petascope_insertdemo.sh:   port: 7001
petascope_insertdemo.sh:   db: RASBASE
petascope_insertdemo.sh: Warning: WMS initialization for mean_summer_airtemp failed.
petascope_insertdemo.sh: Warning: WMS pyramid creation for mean_summer_airtemp failed.

Would be good if there is a feedback like - collection/coverage successfully inserted, and a 'done' message at the end.

Change History (1)

comment:1 by Dimitar Misev, 10 years ago

Resolution: fixed
Status: newclosed

changeset:57cedf58450f67f9391802e91e5b2fe09cd1288b

Now the output is

petascope_insertdemo.sh: postgres settings read from /home/dimitar/projects/rasdaman/community/install/etc/petascope.properties
petascope_insertdemo.sh:   user: petauser
petascope_insertdemo.sh:   port: 5432
petascope_insertdemo.sh:   db: petascopedb
petascope_insertdemo.sh: rasdaman settings
petascope_insertdemo.sh:   user: rasadmin
petascope_insertdemo.sh:   host: localhost
petascope_insertdemo.sh:   port: 7001
petascope_insertdemo.sh:   db: RASBASE
petascope_insertdemo.sh: inserting `mean_summer_airtemp' 2D demo dataset for WC*S and WMS services... Ok.
Note: See TracTickets for help on using tickets.