Page 1 of 1

can not find GridIP-Tile in ADL5.3's database

Posted: Wed Feb 10, 2016 12:09 pm
by wzchen
I created a new database by using:
$ADL_HOME/script/DMS/createSQLiteDMS.csh
Then I imported all Tiles by using:
"$ADL_HOME/script/importdms $dir"
However, I got no results when I searched "N_Dataset_Type_Tag" with "GridIP-Tile" by using:
$ADL_HOME/script/DMS/DmsInvGui.sh
However, I can get correct results if I search database by using "N_Collection_Short_Name". For example, I got 1580 results for "GridIP-VIIRS-Ann-Max-Min-Ndvi-Quarterly-Tile".

Did I do anything wrong?
Thanks,

Re: can not find GridIP-Tile in ADL5.3's database

Posted: Thu Feb 18, 2016 7:00 am
by jhkmal
Everything is correct

Re: can not find GridIP-Tile in ADL5.3's database

Posted: Fri Mar 04, 2016 10:32 am
by dstuhmer
Since you are using the GUI it is difficult to tell for sure.
1. Did you spell the Metadata string and value correctly?
2. Did you remember to click the "query" button on the right hand side to add your query?
When I try to replicate what you have done with the default ADL DMS it does work.
I've attached a GIF file showing a screenshot of a successful query.

This command queries for all GridIP-Tiles, the grep looks for the shortened string of the key
name for the N_Collection_Short_Name, and the wc counts them (of course). This is what I
see from the default DMS shipped with ADL 5.3 after installing and running the example
test data set.
> $ADL_HOME/script/querydms -d GridIP-Tile | grep N_Collect | wc
540 6480 89689
> $ADL_HOME/script/querydms -s GridIP-VIIRS-Ann-Max-Min-Ndvi-Quarterly-Tile | grep N_Coll | wc
32 384 5568