-
-
Notifications
You must be signed in to change notification settings - Fork 24
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
Added VTCx places in Thailand #84
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Chiang Rai International Airport works fine on Weather Report applet, but I couldn't get the weather info for Chiang Rai and Mae Sariang.
$ xmllint --xpath "//code/text()" data/Locations.xml.in | sort | grep VTC.*
VTCC
VTCH
VTCL
VTCN
VTCP
VTCR
VTCS
VTCT
$ ./autogen.sh --prefix=/uar && make
$ xmllint --noout --dtdvalid data/locations.dtd data/Locations.xml
$ grep "Chiang Rai" data/Locations.xml
$ sudo make install
MATE Weather Report panel applet:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Have added all locations in Thailand from |
Are all new location tested? I don't think we should locations without weather infos. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
:
OK, sorry about that, I was assuming everything in sao.cty would therefore give weather info. I don't have the infrastructure to test it. I tried building, but got stuck (see issue #86). I have changed the pull request to only include the locations you have been able to confirm and the ones that are already recognized in the current applet. I am very excited to be able to contribute, I spent many hours looking up the information and collating it. |
Sorry, the location aren't confirmed by me. You have to do that. |
Wait, I checked the locations in the current applet! |
I tested your first list again
I am still wondering that you open a PR, but you're not able to rebuild libmateweather with your changes. |
I don't have these lines in HEAD (52c2249):
This PR is basically an xml source file, I've checked its schema validity, but indeed, I haven't been able yet to build the library... Tried, but got stuck, I might need some help. But I know others are able to build. This contribution is more on the content of the weather stations' locations. Sorry, I would love to be able to build it. I thought that this kind of non-technical contributions could be useful for the project, because apparently nobody that has been involved has supplied this information. I would be grateful if someone else could build this. |
data/Locations.xml.in
Outdated
<name>Tak</name> | ||
<coordinates>16.876689 99.138131</coordinates> | ||
<location> | ||
<name>Tak</name> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Really, this is from you!!!
<!-- A city in Thailand -->
<name>Tak</name>
<coordinates>16.876689 99.138131</coordinates>
<location>
Is current state of PR what you want to get merged or is something missing? |
I have pushed the modified file every time after I received feedback from you, so the current state should automatically be updated every time (there is no longer an entry for "Tak"). |
I fixed more problems with 67521e5 |
Hope this contribution is OK as is. I'm happy to do more if I find time, but these have been long overdue.