DendraScience / dendra-web-ui

Dendra public facing web site and application.
3 stars 2 forks source link

Catalina-Jemez CZO - Jemez River Basin network not in sync #61

Open martinseul opened 1 year ago

martinseul commented 1 year ago

network name in HIS is czo_arizona dendra wof returns czo_ariz, need to align image

I tested this with Justin's compare tool at https://wof-test.netlify.app/, left column hydroportal - right column dendra-wof for site: Catalina-Jemez CZO czo_ariz:Met1 variable: czo_ariz::Temperature2 for 5/1/2012 - 5/2/2012

cbode commented 1 year ago

I am pulling NetworkName from HIS using 'https://hiscentral.cuahsi.org/webservices/hiscentral.asmx/GetWaterOneFlowServiceInfo' This is what I am parsing: <NetworkName>czo_ariz</NetworkName>

It is placed on the Organization under external_refs:

{
  "identifier": "czo_ariz",
  "type": "his.odm.service.NetworkName"
}

Note there is also the Vocabulary term, which is pulled from the his-connections-org.csv file using the NetworkID.

{
  "identifier": "czo_ariz",
  "type": "his.odm.service.Vocabulary"
}

@martinseul Should this be from a different source? Is network not the same as NetworkName?

martinseul commented 1 year ago

You would think they were the same but in this case they are not as they networkname comes from the catalog where network is in wof, so they have to be manually aligned (sigh). in this case I'll change networkname in the catalog to be czo_arizona as that is consistent with the url, so you can manually change it or reimport.