File tree Expand file tree Collapse file tree
workshop/jupyter/content/notebooks Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6969 "cell_type" : " markdown" ,
7070 "metadata" : {},
7171 "source" : [
72- " Let's start with the CLI below. "
72+ " Let's start with the CLI below"
7373 ]
7474 },
7575 {
8181 " !pygeometa"
8282 ]
8383 },
84+ {
85+ "cell_type" : " markdown" ,
86+ "metadata" : {},
87+ "source" : [
88+ " Let's take a look at our sample metadata control file (MCF)"
89+ ]
90+ },
8491 {
8592 "cell_type" : " code" ,
8693 "execution_count" : null ,
9097 " !cat ../data/countries.yml"
9198 ]
9299 },
100+ {
101+ "cell_type" : " markdown" ,
102+ "metadata" : {},
103+ "source" : [
104+ " pygeometa allows a user to validate the MCF file against it's format/schema. Let's make sure our MCF file is valid:"
105+ ]
106+ },
107+ {
108+ "cell_type" : " code" ,
109+ "execution_count" : null ,
110+ "metadata" : {},
111+ "outputs" : [],
112+ "source" : [
113+ " !pygeometa metadata validate ../data/countries.yml"
114+ ]
115+ },
93116 {
94117 "cell_type" : " code" ,
95118 "execution_count" : null ,
196219 {
197220 "cell_type" : " code" ,
198221 "execution_count" : null ,
199- "metadata" : {
200- "scrolled" : false
201- },
222+ "metadata" : {},
202223 "outputs" : [],
203224 "source" : [
204225 " print(xml_string)"
231252 "name" : " python" ,
232253 "nbconvert_exporter" : " python" ,
233254 "pygments_lexer" : " ipython3" ,
234- "version" : " 3.8.10 "
255+ "version" : " 3.10.12 "
235256 }
236257 },
237258 "nbformat" : 4 ,
238- "nbformat_minor" : 2
259+ "nbformat_minor" : 4
239260}
You can’t perform that action at this time.
0 commit comments