Code Monkey home page Code Monkey logo

canonn-gcloud's People

Contributors

nofoollikeone avatar slippycheeze avatar

Watchers

 avatar  avatar  avatar  avatar

canonn-gcloud's Issues

Bad biostats in database

There are a number of records in the Canonn database with clearly bad data (i.e. impossible parameters). This data is visible in the Canonn - Surface Biology Google sheet.

I reckon the best action would be to delete these records from the system.

This first one is a result of there being three known bodies with name "2MASS J03292155+3121104" and at some point in the import the biological sample has been correlated with the wrong system.

I have flown out there and re-scanned both bodies and the problem still exists in the Google sheet.

[{
	"Report Date": 1631038621000,
	"Name": "Bacterium Acies - Magenta",
	"Journal Name": "$Codex_Ent_Bacterial_04_Polonium_Name;",
	"EntryId": 2320403,
	"Cmdr": "TheProRockPL",
	"Region": "Inner Orion Spur",
	"System": "2MASS J03292155+3121104",
	"Id64": 5063630988321,
	"Primary Star": "M (Red dwarf) Star",
	"Local Star": "M (Red dwarf) Star",
	"Body": "2MASS J03292155+3121104 5",
	"BodyType": "Icy body",
	"Atmosphere": "Thick Methane-rich",
	"Pressure": 2704.0494251172,
	"Volcanism": "Minor Carbon Dioxide Geysers",
	"Gravity": 0.7300688284,
	"Temperature": 367.431915,
	"Distance To Arrival": 277.211195
}]

These next entries have the biological recorded against the star, not a body. I don't think flying out there and re-scanning is going to help, it'll just add extra records for these biologicals against the correct body.

[{
	"Report Date": 1622635287000,
	"Name": "Bacterium Aurasus - Sage",
	"Journal Name": "$Codex_Ent_Bacterial_01_L_Name;",
	"EntryId": 2320108,
	"Cmdr": "Rayven N\\u00edunda",
	"Region": "The Formidine Rift",
	"System": "Dryau Aim NM-W d1-0",
	"Id64": 10024387987,
	"Primary Star": "G (White-Yellow) Star",
	"Local Star": "G (White-Yellow) Star",
	"Body": "Dryau Aim NM-W d1-0 A",
	"BodyType": "G (White-Yellow) Star",
	"Atmosphere": null,
	"Pressure": null,
	"Volcanism": null,
	"Gravity": null,
	"Temperature": 5781.0,
	"Distance To Arrival": 0.0
}, {
	"Report Date": 1622635301000,
	"Name": "Tussock Pennatis - Sage",
	"Journal Name": "$Codex_Ent_Tussocks_06_L_Name;",
	"EntryId": 2450605,
	"Cmdr": "Rayven N\\u00edunda",
	"Region": "The Formidine Rift",
	"System": "Dryau Aim NM-W d1-0",
	"Id64": 10024387987,
	"Primary Star": "G (White-Yellow) Star",
	"Local Star": "G (White-Yellow) Star",
	"Body": "Dryau Aim NM-W d1-0 A",
	"BodyType": "G (White-Yellow) Star",
	"Atmosphere": null,
	"Pressure": null,
	"Volcanism": null,
	"Gravity": null,
	"Temperature": 5781.0,
	"Distance To Arrival": 0.0
}, {
	"Report Date": 1621996346000,
	"Name": "Bacterium Alcyoneum - Sage",
	"Journal Name": "$Codex_Ent_Bacterial_06_L_Name;",
	"EntryId": 2320608,
	"Cmdr": "Rayven N\\u00edunda",
	"Region": "Elysian Shore",
	"System": "Hypheerld PI-I b56-4",
	"Id64": 9431613251553,
	"Primary Star": "M (Red dwarf) Star",
	"Local Star": "M (Red dwarf) Star",
	"Body": "Hypheerld PI-I b56-4 A",
	"BodyType": "M (Red dwarf) Star",
	"Atmosphere": null,
	"Pressure": null,
	"Volcanism": null,
	"Gravity": null,
	"Temperature": 2830.0,
	"Distance To Arrival": 0.0
}, {
	"Report Date": 1621993912000,
	"Name": "Fungoida Setisis - Peach",
	"Journal Name": "$Codex_Ent_Fungoids_01_Antimony_Name;",
	"EntryId": 2390105,
	"Cmdr": "Rayven N\\u00edunda",
	"Region": "Elysian Shore",
	"System": "Hypheerld PI-I b56-4",
	"Id64": 9431613251553,
	"Primary Star": "M (Red dwarf) Star",
	"Local Star": "M (Red dwarf) Star",
	"Body": "Hypheerld PI-I b56-4 A",
	"BodyType": "M (Red dwarf) Star",
	"Atmosphere": null,
	"Pressure": null,
	"Volcanism": null,
	"Gravity": null,
	"Temperature": 2830.0,
	"Distance To Arrival": 0.0
}, {
	"Report Date": 1621993456000,
	"Name": "Frutexa Metallicum - Teal",
	"Journal Name": "$Codex_Ent_Shrubs_03_L_Name;",
	"EntryId": 2440306,
	"Cmdr": "Rayven N\\u00edunda",
	"Region": "Elysian Shore",
	"System": "Hypheerld PI-I b56-4",
	"Id64": 9431613251553,
	"Primary Star": "M (Red dwarf) Star",
	"Local Star": "M (Red dwarf) Star",
	"Body": "Hypheerld PI-I b56-4 A",
	"BodyType": "M (Red dwarf) Star",
	"Atmosphere": null,
	"Pressure": null,
	"Volcanism": null,
	"Gravity": null,
	"Temperature": 2830.0,
	"Distance To Arrival": 0.0
}, {
	"Report Date": 1621995399000,
	"Name": "Tussock Divisa - Sage",
	"Journal Name": "$Codex_Ent_Tussocks_10_L_Name;",
	"EntryId": 2451005,
	"Cmdr": "Rayven N\\u00edunda",
	"Region": "Elysian Shore",
	"System": "Hypheerld PI-I b56-4",
	"Id64": 9431613251553,
	"Primary Star": "M (Red dwarf) Star",
	"Local Star": "M (Red dwarf) Star",
	"Body": "Hypheerld PI-I b56-4 A",
	"BodyType": "M (Red dwarf) Star",
	"Atmosphere": null,
	"Pressure": null,
	"Volcanism": null,
	"Gravity": null,
	"Temperature": 2830.0,
	"Distance To Arrival": 0.0
}, {
	"Report Date": 1622153401000,
	"Name": "Concha Aureolas - Grey",
	"Journal Name": "$Codex_Ent_Conchas_02_F_Name;",
	"EntryId": 2350203,
	"Cmdr": "Rayven N\\u00edunda",
	"Region": "The Formidine Rift",
	"System": "Schee Hypue NF-L d9-2",
	"Id64": 78173423187,
	"Primary Star": "F (White) Star",
	"Local Star": "F (White) Star",
	"Body": "Schee Hypue NF-L d9-2 A",
	"BodyType": "F (White) Star",
	"Atmosphere": null,
	"Pressure": null,
	"Volcanism": null,
	"Gravity": null,
	"Temperature": 6294.0,
	"Distance To Arrival": 0.0
}, {
	"Report Date": 1622154110000,
	"Name": "Osseus Spiralis - Turquoise",
	"Journal Name": "$Codex_Ent_Osseus_03_F_Name;",
	"EntryId": 2400303,
	"Cmdr": "Rayven N\\u00edunda",
	"Region": "The Formidine Rift",
	"System": "Schee Hypue NF-L d9-2",
	"Id64": 78173423187,
	"Primary Star": "F (White) Star",
	"Local Star": "F (White) Star",
	"Body": "Schee Hypue NF-L d9-2 A",
	"BodyType": "F (White) Star",
	"Atmosphere": null,
	"Pressure": null,
	"Volcanism": null,
	"Gravity": null,
	"Temperature": 6294.0,
	"Distance To Arrival": 0.0
}]

Two systems fail to return data for /query/codex/biostats call

I have noticed that hits on /query/codex/biostats fails for two systems.
https://us-central1-canonn-api-236217.cloudfunctions.net/query/codex/biostats?id=2553098013019
https://us-central1-canonn-api-236217.cloudfunctions.net/query/codex/biostats?id=3382387413698

These are both pretty busy systems, but I note that Adityan loads fine and it has more bodies and more stations:
https://us-central1-canonn-api-236217.cloudfunctions.net/query/codex/biostats?id=5031520572122

Bio guesses omitted in some cases

It seems when trying to guess possible biology signals, the code looks at a value called "fdevname" for each species. That value is used to extract a needed star type. However, in some species, the star type might be replaced with a material, but the code assumes it's a star type and, not finding a star with that type in the system, declares the species as impossible on planets where it can appear.
The function in question is species_star(species) in query/localpackage/codex.py

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.