Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What is the schema path? #302

Closed
khavernathy opened this issue Jan 17, 2020 · 2 comments
Closed

What is the schema path? #302

khavernathy opened this issue Jan 17, 2020 · 2 comments

Comments

@khavernathy
Copy link

khavernathy commented Jan 17, 2020

I'm trying to use an example from SIX test_round_trip:

me@machine:~/six-library/target/six/modules/c++/cphd/tests$ ./test_round_trip  -t 6 /scratch/cphd_mess/tester.cphd  out.cphd    
ParseException: usage: ./test_round_trip [-t NUM] CPHD CPHD XSD    
missing required argument: [schema] 

I need a "schema". What/where is that?

@khavernathy
Copy link
Author

khavernathy commented Jan 17, 2020

Reading the manual a bit and greping for schema led me to find

target/six/conf/setup.py after installing.

I did sudo python setup.py install and greped around again to find
target/six/conf/build/lib/pysix/schemas/SICD_schema_V1.2.0_2016_04_12.xsd

I used that as the [schema] argument and the error vanished..

@JonathanMeans
Copy link
Contributor

The schemas should get installed to <install>/conf/schema/six/. If you're not seeing it, try a waf install with no arguments.

You'll want to pass the directory containing the schemas, and it will then automatically choose the correct one for schema validation.

JonathanMeans added a commit that referenced this issue Feb 20, 2020
163168f Merge pull request #303 from mdaus/update_waf
15aef50 Update .gitignore
e40f4d0 Update notes
8e60f52 Update waffile again
c15215a Attempt to update waffile
4dbe4be Attempt to update waffile
dbe1a53 Attempt to update waffile
12bd2a1 Try to update waffile again
12d3112 Update notes and gitignore
96ec887 Update Python3 errors in msvc.py
30d7dff Merge pull request #302 from mdaus/python_bindings
5295ad3 Regenerate Python bindings
7b46a4a Merge pull request #301 from mdaus/ES_Removal
35bd221 Remove exception specifications.
14523c9 Merge pull request #300 from mdaus/str-trim-isspace-fix
0976788 Use C++ style include
aca8e70 Include wctype.h
77fd4d8 Update str::trim to properly handle non-ASCII characters on Windows
e05052d Merge pull request #299 from mdaus/fixFitCoeffOOB
a3e26c3 PR changes
d08c2f9 Added order check when combining component coefficients for a vector-valued polynomial fit. Will fill coefficients that are not present with 0.0

git-subtree-dir: externals/coda-oss
git-subtree-split: 163168fa5c7d5fbf200f15e739c18d7c0dc24e3b
JonathanMeans added a commit that referenced this issue Feb 24, 2020
163168f Merge pull request #303 from mdaus/update_waf
15aef50 Update .gitignore
e40f4d0 Update notes
8e60f52 Update waffile again
c15215a Attempt to update waffile
4dbe4be Attempt to update waffile
dbe1a53 Attempt to update waffile
12bd2a1 Try to update waffile again
12d3112 Update notes and gitignore
96ec887 Update Python3 errors in msvc.py
30d7dff Merge pull request #302 from mdaus/python_bindings
5295ad3 Regenerate Python bindings
7b46a4a Merge pull request #301 from mdaus/ES_Removal
35bd221 Remove exception specifications.
14523c9 Merge pull request #300 from mdaus/str-trim-isspace-fix
0976788 Use C++ style include
aca8e70 Include wctype.h
77fd4d8 Update str::trim to properly handle non-ASCII characters on Windows
e05052d Merge pull request #299 from mdaus/fixFitCoeffOOB
a3e26c3 PR changes
d08c2f9 Added order check when combining component coefficients for a vector-valued polynomial fit. Will fill coefficients that are not present with 0.0
1b77f1c Merge pull request #298 from mdaus/resource-check
c398a1f Review comments
7601cac Added resource check functions to check process/system memory

git-subtree-dir: externals/coda-oss
git-subtree-split: 163168fa5c7d5fbf200f15e739c18d7c0dc24e3b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants