Opened 3 years ago

Closed 3 years ago

#698 closed enhancement (fixed)

petascope_insertdemo.sh improvement

Reported by: dmisev Owned by: pcampalani
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 Changed 3 years ago by dmisev

  • Resolution set to fixed
  • Status changed from new to closed

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.